I am trying to implement input number field which will not allow if number end with two 0's i.e. if I enter 23100 then it should not allow it. I'm using the regex /^[0-9]*00$/ but it allowing 123100.
I have pasted my code
enter code here
I am trying to implement input number field which will not allow if number end with two 0's i.e. if I enter 23100 then it should not allow it. I'm using the regex /^[0-9]*00$/ but it allowing 123100.
I have pasted my code
enter code here