Regular Expressions 101

Library entries

List of phone numbers

Vote

1

Regular Expression
javascript

/
^(([\(]?\d{3}[\)]?[\/ -]?\d{3}[ -]?\d{4})[, ]*)+$
/

Description

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