Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^\d{1,10}$
/
gm

Description

Only numbers and length under 10

Submitted by anonymous - 2 years ago