I have problem with my price validation regular expression.
My pattern does not accept values that I want such as:
- 101.00
- 110.00
- 1000.00
- 0.50
My pattern accepts values such as:
- 1.00
- 1.10
- 1.11
- 11.11
Right now, my pattern is ^([1-9]+\.)(\d{2})$
.
Desired regexp should not accept 'zero' values like e.g. 0.00
or 0
.