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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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