Title |
Test
Find
Pattern Title
|
Expression |
^[-+]?[0-9]\d{0,2}(\.\d{1,2})?%?$ |
Description |
Required and regular expression validator. For supporting
-999.99 to +999.99 . Positive and Negative integer/ decimal validations. Percentage sign is also supported. Will not allow empty strings. Can increase/decrease the range as you need. |
Matches |
12.3 | 123 | -123.45 |
Non-Matches |
- | 10.1234 | -1234 |
Author |
Rating:
Not yet rated.
Error Reporter
|
Source |
|
Your Rating |
|
Title: ?
Name: acpnomade
Date: 7/5/2006 10:43:08 AM
Comment:
^[-+]?([0]*)?\d{1,3}(\.\d{1,2})?([0]*)?$?%|^$
allow numbers representations such as 0001.33000
Title: Can I use range betwween 1 to 100 using this expression??
Name: Error Reporter
Date: 2/1/2006 6:08:09 AM
Comment:
Can I use range betwween 1 to 100 using this expression??
It's very urgent.