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

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -