Title |
Test
Find
Pattern Title
|
Expression |
^(\d{1,3}'(\d{3}')*\d{3}(\.\d{1,3})?|\d{1,3}(\.\d{3})?)$ |
Description |
This regex match numeric data in the following format: thousands are separated by (') apostrophe, decimal places are separated by dot (.) Maximum three decimal places are not required. It's easy to change to other separators as well. |
Matches |
1'235.140 | 1'222'333.120 | 456 |
Non-Matches |
1234.500 | 78'45.123 | 123,0012 |
Author |
Rating:
Not yet rated.
Dalibor Kalna
|
Source |
|
Your Rating |
|