Hi,
How can I write a regular expression to match "SS19100025" type of string?
Start with 2 "S" then "191" then after 5 digit number.
Thanks a lot, devweb
Hi,
How can I write a regular expression to match "SS19100025" type of string?
Start with 2 "S" then "191" then after 5 digit number.
Thanks a lot, devweb
/SS191\d{5}/
Edit: If you're looking to learn Regex, may I recommend Mastering Regular Expressions. It is a fantastic book and has helped me tremendously. Also answering questions on SO is another great way to learn regex.