Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^\d+(?:\.\d{0,2})?$
|
Description |
Matches positive whole numbers with exactly zero or two decimal points if a . is present. Useful for checking currency amounts, such 5 or 5.00 or 5.25.
|
Matches |
1 | 1.23 | 1234.45
|
Non-Matches |
a1.34 | 1.23a | a
|
Author |
Rating:
Andrew van der Stock
|
Displaying page
of
pages;
Items to