regex start with 1 of 3 values and is 9 digits -


i need regex makes sure values starts either:

60, 07, or 80

and 9 digits long

please can this.

thanks

^(?:60|07|80)\d{7}$ should suit needs.


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

php - Calling a template part from a post -

How to mention the localhost in android -