BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Milindbhorge
Calcite | Level 5

Raw data(Twitter Comment):

 

@nice#greatwork@fake

very nice portal ncs

#Goodportal@hatsoff to ncs 

 

Output needed:

 

Col1

@nice

#greatwork

@fake

null

#Goodportal

@hatsoff

 

 

 

want to extract only those words which contains special character in single coloum .

which ever comment does not contain special character then show null.

 

 

1 ACCEPTED SOLUTION
4 REPLIES 4
RahulG
Barite | Level 11

Good catch ...same question asked twice by different person

Milindbhorge
Calcite | Level 5

yea that true one of my frd(atul) only asked tht que ....

 

but ans were nt appropriate .

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Perhaps it would be a good I dea to close of the other thread - mark one of the responses as the solution, then in this post update it to reflect what the input data is, and also explain why the given solutions are "nt appropriate".  Please use full examples of what you want.

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
  • 4 replies
  • 1710 views
  • 0 likes
  • 4 in conversation