Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-06-30 13:40
Flavor·PCRE (Legacy)

/
\+([0-9]{1,4})(?:\s?)\(([0-9]{1,6})\)(?:\s?)([ 0-9]{1,15})(?:\s?)(?:\-?)(?:\s?)([ \-0-9]{1,10})?(?:\s?)
/
g
Open regex in editor

Description

Test a given string for phone number variations and extract th parts.

Submitted by anonymous