Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
^(\$)?(\s)?(\-)?((\d+)|(\d{1,3})(\,\d{3})*)(\.\d{2,})?$
|
Description |
Allows either inclusion of $ symbol or not. Allows a whitespace character after the $ sysmbol or not. Allows a negative symbol in front of the starting digit or not. Allows comma separators at thousands, but nowhere else. Allows more than two decimal places.
|
Matches |
$1,000.00 | $-1,000.00 | 100.8766
|
Non-Matches |
$1a | $#100.00 | 1,00.00
|
Author |
Rating:
Not yet rated.
Ron Allen
|
Displaying page
of
pages;
Items to