Reg-Ex decimal number with two places

Can someone help me out with reg-ex for a decimal number with two places. it must have two places after the .


2.1 – Fail

2 – fail

786 – fail

786.00 – pass

2.00 pass

10.10- pass

Source: regex

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.