Title |
Test
Find
Number w/wo commas and decimal
|
Expression |
((^([\d]{1,3})(,{1}([\d]{3}))*)|(^[\d]*))((\.{1}[\d]{2})?$) |
Description |
This re matches numbers with our without commas and with or without exactly two decimal places. |
Matches |
456161 | 45622.22 | 123,234,.22 | 889,456 |
Non-Matches |
123,22 | 123.221 | 1,2,3 | 123,21.2 |
Author |
Rating:
Not yet rated.
John Moore
|
Source |
|
Your Rating |
|