Community Patterns

Community Library Entry

0

Regular Expression
Created·2019-09-04 18:44
Flavor·PCRE (Legacy)

/
\+?[\d]?\s*\(?\d{3}\)?[\s\.-]?\d{3}[\s\.-]?\d{4}
/
gm
Open regex in editor

Description

Phone Number from the USA and similar countries using the a single-digit country code (optionally).

Submitted by Timothy Stam