Title |
Test
Find
Pattern Title
|
Expression |
\$[0-9]?[0-9]?[0-9]?((\,[0-9][0-9][0-9])*)?(\.[0-9][0-9]?)?$ |
Description |
|
Matches |
$1,456,983.00 | $1,700.07 | $68,944.23 |
Non-Matches |
$20,86.93 | $1098.84 | $150. |
Author |
Rating:
Not yet rated.
Snikwad Kcirtap
|
Source |
|
Your Rating |
|
Title: Slightly modified
Name: Luuk2005
Date: 9/12/2021 3:31:54 AM
Comment:
It could match the dollar-sign at the very end of lines, or also match lines like....... $,111
Slightly modded: \$(?!,|$)[0-9]{0,3}(,[0-9]{3})*(\.[0-9]{1,2})?$ or to mandate 1-digit after $
\$[0-9]{1,3}(,[0-9]{3})*(\.[0-9]{1,2})?$