Title |
Test
Find
Pattern Title
|
Expression |
^\-?[0-9]{1,3}(\,[0-9]{3})*(\.[0-9]+)?$|^[0-9]+(\.[0-9]+)?$ |
Description |
Formatted Number with "," as thousand separator and "." as decimal separator. now accept numbers without separators of thousands. |
Matches |
10,000,000.123 | 3.14159265 |
Non-Matches |
2.7,1828183 |
Author |
Rating:
Not yet rated.
German Gonzalez
|
Source |
|
Your Rating |
|
Title: Fails to match "1000"
Name: Randal L. Schwartz
Date: 3/30/2005 9:04:04 PM
Comment:
Bad user interface to *require* a "1,000" instead of "1000". Bad. Very bad.