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.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1899 views
  • 1 like
  • 3 in conversation