Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^[0-9]{6,6}$
/
g

Description

Matches string which only has number and are 6 digit long

Submitted by anonymous - 3 years ago