Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^\([\d_]{3}\)[\d_]{3}-[\d_]{2}-[\d_]{2}$
/

Description

masked phone input validator

Submitted by fermanakgun - 9 years ago