Hi Team,
I am able to replace special characters with empty spaces in the text2 argument. However I am not able to achieve the same in the text3 argument. Can you please let us know how to use other functions/ variable names in the Perl regular expression?
data a; input text $80.; datalines; The phone numberØ for Ed is (801)443-9876Ø but not until tonight. He can be reached Øat (910)998-8762 Øtomorrow for testing purposesØ. ; run;
data b; set a; text2=prxchange("s/Ø//", -1, text); test3 = prxchange("s/byte(216)//", -1, text); test4= byte(216); run;
Thanks & Regards,
Bhanu Prakash Pala
... View more