Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^(?:\+)?(?=(\d[\(\)\s\-\.]*){7,})([0-9\(\)\s\-\.]{5,})(?:\s*(?:#|x\.?|ext\.?|extension)\s*([0-9\(\)\s\-\.]{2,}))?$
/
mg

Description

no description available

Submitted by anonymous - 7 years ago