Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

phone regex

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