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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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