samedi 1 août 2015

java regular expression for validating the number greater than 20000

I have a requirement where i want to validate a number which should be greater than 20000 and less than 100000. please help in providing the regex i am very new to regular expression.i have a regualr expression for checking whether number should be less than 20000

[1-9]\d{0,3}|1\d{4}|20000

Aucun commentaire:

Enregistrer un commentaire