| Title |
Test
Find
Pattern Title
|
| Expression |
^\$[+-]?([0-9]+|[0-9]{1,3}(,[0-9]{3})*)(\.[0-9]{1,2})?$ |
| Description |
This expression is little tricky since the $ sign is includeded in the
expression itself. So whenever you want to make use of the expression be
sure to prepend $ sign to the value if it's not present. |
| Matches |
$-1 | $-1.0 | $1,234.42 |
| Non-Matches |
anything that doesn't start with $ | $.13 | $2. |
| Author |
Rating:
Not yet rated.
Chandrasing Patil
|
| Source |
|
| Your Rating |
|
Title: Sr. P/A
Name: Ramaswamy
Date: 11/1/2006 2:02:04 PM
Comment:
Excellent!