Skycapt
asked on
regular expression
Hello
I need to search for P123/ABC using a regular expression?
Thanks for your help
I need to search for P123/ABC using a regular expression?
Thanks for your help
Could you be more specific? You can find this exact expression when you just call it: P123/ABC.
ASKER
Oh sorry,
I have a list of products P123 to P500 in number order but 5 or 6 of them have the extended code P123/ABC the numbers and letters may vary so you may get P234/DEF they also may change from day to day so I cant just isolate individual codes.
Hope that helps
I have a list of products P123 to P500 in number order but 5 or 6 of them have the extended code P123/ABC the numbers and letters may vary so you may get P234/DEF they also may change from day to day so I cant just isolate individual codes.
Hope that helps
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi, thanks for your help, here's my final code
'^[P][0-9]{3}(/[A-Z]{3})?$ '
'^[P][0-9]{3}(/[A-Z]{3})?$