Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex for valid phone number

^(+d{1,2}s?)?1?-?.?s?(?d{3})?[s.-]?d{3}[s.-]?d{4}$
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #valid #phone #number
ADD COMMENT
Topic
Name
8+3 =