Title |
Test
Find
Pattern Title
|
Expression |
^[1-9]{1}$|^[1-4]{1}[0-9]{1}$|^50$ |
Description |
Match any number between 1 and 50, no characters, no empty sets, and not zero. Match numbers greater than 1 and less than 51, no spaces, no characters. |
Matches |
1 | 23 | 50 |
Non-Matches |
0 | 111 | xyz |
Author |
Rating:
Not yet rated.
Michael Gaertner
|
Source |
|
Your Rating |
|
Title: How can I support decimals in this expression.
Name: Harsh
Date: 6/28/2010 8:57:44 AM
Comment:
how can I support decimals to work in this same expression? I want to allow 0 and decimal to work in this same range.
Title: Congrats
Name: John
Date: 4/2/2003 4:27:52 PM
Comment:
Works great!