Title |
Test
Find
Numbers 1-10
|
Expression |
^[1-9]0?$ |
Description |
Numbers ranging from 1 through 10 |
Matches |
2, 10 , 1 |
Non-Matches |
0, 11,2.2,0.21 |
Author |
Rating:
Aditya Sunchu
|
Source |
|
Your Rating |
|
Title: this will auslo allow 20 30 40 ...
Name: XSeb74
Date: 7/31/2019 3:23:19 PM
Comment:
you should use
^[1-9]|10$
Or
^10?|[2-9]$
Title: adds more than 1-10
Name: Rich Curry
Date: 3/6/2013 10:43:12 AM
Comment:
^[1-9]0?$ will also allow 20, 30, 40, 50...