Expression ^\d{0,2}(\.\d{1,2})?$
Description This regular expression validates that the data entered is a number with a maximum of two integers and two decimals and a minimum of one integer or one decimal.
Matches 99.99 | 99 | .99
Non-Matches 999.999 | 999 | .999
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment