regex that checks if the string starts with two upper-case followed by numbers -


hi guys need regex checks if string starts two upper-case followed numbers:

example: de123456789

thanx lot of.

literally:

^[a-z]{2}\d+ 
  1. ^ - start of string
  2. [a-z] - upper case letter
  3. {2} - 2 of those
  4. \d - digit
  5. + - 1 or more of those

Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -