Regular Expressions 101

Library entries

Mexican Phone

Vote

1

Regular Expression
javascript

/
^([0-9]{2,3})([\s.-]?)([0-9]{3,4})([\s.-]?)([0-9]{4})$
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago