Hi all,
I am validating PAN number ( 5 char 4 digits 1 char).
I used PRXMATCH('/[a-zA-Z]{5}\d{4}[a-zA-Z]/',PAN ).
But whenever I close the job and open again I get this
PRXMATCH('/[Missing Token]{5}\d{4}[Missing Token]/',PAN ).
Please help me how to resolve this.
Also I tried this. This also not working.
PRXMATCH('/\w{5}\d{4}\w/',PAN).
PRXMATCH('/[a-zA-Z]{5,5}\d{4,4}[a-zA-Z]/',PAN ). ?
Hi Thanks for the reply.
The expression
PRXMATCH('/[a-zA-Z]{5}\d{4}[a-zA-Z]/',PAN )
is working fine for me, but When I close the job and open the expression becomes like this.
PRXMATCH('/[Missing Token]{5}\d{4}[Missing Token]/',PAN ).
I fixed the problem.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.