Regular Expressions 101

Library entries

Phone number tests

Vote

1

Regular Expression
pcre

/
\+([0-9]{1,4})(?:\s?)\(([0-9]{1,6})\)(?:\s?)([ 0-9]{1,15})(?:\s?)(?:\-?)(?:\s?)([ \-0-9]{1,10})?(?:\s?)
/
g

Description

Loading markdown...
Submitted by anonymous - 6 years ago