Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-12-04 21:46
Flavor·PCRE (Legacy)

/
^(?=(?:\D*.\D*){10,15}$)\+?\d{1,4}?[-.\x20]?\(?\d{1,3}?\)?[-.\x20]?\d{1,4}[-.\x20]?\d{1,4}[-.\x20]?\d{1,9}$
/
gm
Open regex in editor

Description

Detects and validates most of the phone numbers all over the world

Submitted by Aditya Joshi