BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
gstullo
Obsidian | Level 7

Strange but all of a sudden when I try to replace "/" with "\" the forward slash is just deleted but not replaced.  Any thoughts?

Example:

'H:/Documents/Data Management/TEST/163_ExportAll.d01'

'H:DocumentsData ManagementTEST163_ExportAll.d01'

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

You may have the "Regular expression search" checked. Uncheck it and retry.

View solution in original post

6 REPLIES 6
Patrick
Opal | Level 21

Can you please provide the SAS code which does this?

gstullo
Obsidian | Level 7

Its not even code.  This is a simple use of the Replace tool. 

Patrick
Opal | Level 21

Which "Replace Tool"? What client and which version on which OS are you using?

gstullo
Obsidian | Level 7

SAS 9.3 on WinX67_7Pro

The replace option is found under Edit-->Replace (Ctrl+H)

ballardw
Super User

You may have the "Regular expression search" checked. Uncheck it and retry.

gstullo
Obsidian | Level 7

That was it!  Thanks a lot.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 2544 views
  • 1 like
  • 3 in conversation