Title |
Test
Find
Amount of money
|
Expression |
^[-+]?\d+([.,]\d{0,2}){0,1}$ |
Description |
matches a number with maximum 2 digits after seperator. also american sepratar "." as german/european seperator "," is accepted |
Matches |
123.45 -123,45 0,12 1234567,78 |
Non-Matches |
1.234 ,43 1,234,567.32 - 123, |
Author |
Rating:
Not yet rated.
Martin Hauck
|
Source |
|
Your Rating |
|