Regular Expressions 101

Community Patterns

Only numbers and length under 10

0

Regular Expression
ECMAScript (JavaScript)

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

Description

Only numbers and length under 10

Submitted by anonymous - a year ago