Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
ECMAScript (JavaScript)

/
^[0-9]{9}$
/
gi

Description

allow nine digits only

Submitted by anonymous - 9 years ago