Regular Expressions 101

Library entries

phone number validator

Vote

0

Regular Expression
javascript

/
^\+?([0-9]{2})\)?[- ]?([0-9- ]{10,})$
/
gm

Description

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