I need a regular expression that checks a numeric value to ensure it has two decimal places after the “.” eg. 0.01, 0.10 is OK, but 2.0 or 0.1 is not OK. it is also not ok with 0.00 or 0 or 0.0
It’s for use with currency. However, I don’t need to worry about the $ sign or comma .
I don’t think the same regex is the right place to check against 0.00 (if you really need to) — use other code for that, rather than a hugely complex regex.