regex to not allow two zeros in the end of a number

Viewed 758

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
3 Answers
Related