I want to validate a number using regex.. the condition is number can be from any negative 3 digit values to positive 3 digit.. but cannot be zero.
can someone please he
I think in all the above input like this is allowed -2-22,2-22 which is a minor bug.Review this as well :-
[\-]?[0-9]*$/
even smaller :
/^[\-]?\d*$/