Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^[0][0-9]{9}
/
gm

Description

Check if first char is 0 followed by 9 digits

Submitted by anonymous - 6 years ago