Regular Expressions 101

Community Patterns

Any telephone number with region and country in any format

-2

Regular Expression
ECMAScript (JavaScript)

/
([\d\(][\(\)\s\.\-\d]{4,}\d)
/
g

Description

Matches any telephone number with region parentesis, or separated by points or dash or spaces

Submitted by https://co.linkedin.com/in/andresfelipecardona - 9 years ago