Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-10-02 20:14
Flavor·ECMAScript (JavaScript)

/
[\+]?(\(?[0-9]{3}\)?)?[\s]?[\+\-]?[\s]?[0-9]{4}[\-\s]?[0-9]{4}
/
Open regex in editor

Description

Validate Phone numbers with separators and areas with 3 digit

Submitted by Elioth Rivera