Regular Expressions 101

Library entries

Regex for telephone numbers all over the world

Vote

67

Regular Expression
javascript

/
\+?\d{1,4}?[-.\s]?\(?\d{1,3}?\)?[-.\s]?\d{1,4}[-.\s]?\d{1,4}[-.\s]?\d{1,9}
/
g

Description

Loading markdown...
Submitted by Aditya Joshi - 8 years ago