I need to prevent entering 5 degit sequential numbers like 12345,45678 etc. in a text box.
I have tried with the following regular expression,but it is not working
var regex = /^(?[0-9]{3}(-|)) ?[0-9]{3}-[0-9]{4}$/;
Aucun commentaire:
Enregistrer un commentaire