I am trying to validate dollar amount, I need help in regular expressions
Something more than equal to 0.1 For example,
- 0.0 - unsuccessful
- 0 - unsuccessful
- 1 - pass
- 0.1 - Pass
- 99 99 - Near
Any ideas?
Thinking that the pattern you want is part of a larger pattern, you can use it Can be:
0 [. 1- 9] \ d * | [1- 9] \ d * (\. \ D *)?
No comments:
Post a Comment