| Title |
Test
Find
Integers, with optional Commas and Sign
|
| Expression |
^[+-]?(?(\d{1,3},)(\d{1,3}(,\d{3})+)|\d+)$ |
| Description |
Matches integers (no decimal points), that may have an option +/- at the front, and may be grouped by comma every three digits. |
| Matches |
1234 | 1,234 | -45,234 | +678,789 |
| Non-Matches |
1234,34 | 456,,123 | jen8,675,309ny |
| Author |
Rating:
Not yet rated.
Aaron
|
| Source |
|
| Your Rating |
|