Hi All ,
Please someone provide the javascript code for validation of a input number .
Conditions -
If we input like 0005 ,it should throw error ,but if we input 5 it should not throw any error (It means zeroes are not allowed before any number) .
If we input 0,it should not throw any error (Single zero is allowed ).
It will be very helpful if someone provides validation code with checking zeroes from the beginning with the help of Regular Expression