Regular Expressions 101

Only numbers and length under 10

Open Workspace
  • JavaScript
  • Match
0

Regular Expression

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

Description

Only numbers and length under 10

Submitted by Anonymous