BookmarkSubscribeRSS Feed
2 REPLIES 2
TomKari
Onyx | Level 15

Here's a link to the PRX metacharacters.

http://support.sas.com/documentation/cdl/en/lefunctionsref/67239/HTML/default/viewer.htm#p0s9ilagexm...

I believe your expression is looking for one or more word character, followed by a dash, followed by one or more word characters.

It's worth investing some time in learning the PRX routines. They can be an incredible time saver.

Tom

sharath_rk
Calcite | Level 5

Thank you Tom. I can relate to the expression now which is looking for a pattern in the data with one or more characters, followed by dash, followed by one or more characters. 

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 2 replies
  • 1476 views
  • 1 like
  • 2 in conversation