BookmarkSubscribeRSS Feed
Tom
Super User Tom
Super User

The code you posted is NOT checking for digits in any specific location in the filename.

It is checking if there are specific strings of digits that appear between underscores.

 

If you are having trouble explaining the structure of the filenames you need to parse then post multiple examples and perhaps someone else can help you understand the pattern.

Babloo
Rhodochrosite | Level 12
May be I would have phrased in wrong way. Yes, I have to check specific
string of digits that appears between underscore and copy the file to the
target folder if the string of digits matches.

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

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
  • 31 replies
  • 6179 views
  • 8 likes
  • 7 in conversation