Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

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
4+9 =