Regular Expressions 101

Community Patterns

phone number 2

0

Regular Expression
ECMAScript (JavaScript)

/
((?:\+|00)[17](?: |\-)?|(?:\+|00)[1-9]\d{0,2}(?: |\-)?|(?:\+|00)1\-\d{3}(?: |\-)?)?(0\d|\([0-9]{3}\)|[1-9]{0,3})(?:((?: |\-)[0-9]{2}){4}|((?:[0-9]{2}){4})|((?: |\-)[0-9]{3}(?: |\-)[0-9]{4})|([0-9]{7}))
/
gm

Description

no description available

Submitted by anonymous - 6 years ago