I want input field to accept integers but if I put dot before the number or at the end of the number then dot should not be accepted

Viewed 20

I am using regular expression in javascript to replace dot with empty space but it's not working!

0 Answers
Related