I have a textbox it should only allow only one dot and atleast one digit after the dot.
for eg: 1 and 1.2. If i enter 1. it should take 1.
33.0, 33, 55.23, 55.6,
i tried the following regex but it is not allowing dot.
It should allow only one dot in the textbox along with digits.