Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^[- +()]*[0-9][- +()0-9]*$
/

Description

A good enough, nonrigorous expression

Submitted by rchfox - 8 years ago