Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^\d{1,5}(\.\d{1,2})?$
|
Description |
validate a number 5 digits and 2 decimal places allowing zero
|
Matches |
12345.67 | 0 | 0.1
|
Non-Matches |
123456.78 | 123456.789 | .1
|
Author |
Rating:
Paul Ashton
|
Title |
Test
Details
Pattern Title
|
Expression |
(?!^0*$)(?!^0*\.0*$)^\d{1,5}(\.\d{1,2})?$
|
Description |
validates to 5 digits and 2 decimal places but not allowing zero
|
Matches |
12345.12 | 0.5
|
Non-Matches |
123456.12 | 1.234 | .1
|
Author |
Rating:
Not yet rated.
Paul Ashton
|
Displaying page
of
pages;
Items to