Regular Expressions 101

Any telephone number with region and country in any format

Open Workspace
  • JavaScript
  • Match
-2

Regular Expression

/
([\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