P
paulsmith5
Hi,
Not sure if this is the correct ng for posting this question but I am
using aspx and I couldn't find a more suitable alternative. Anyway I'm
developing a web app and I want to validate a users input on a form. I
need a regular expression to validate a string which must be from 1 to
5 characters in length - each character must be a number from 0 to 9
however the string can't be comprised entirely of 0's (i.e. invalid
entries would be 0, 00, 000, 0000, and 00000)
Hope someone can help.
Thanks,
Paul
Not sure if this is the correct ng for posting this question but I am
using aspx and I couldn't find a more suitable alternative. Anyway I'm
developing a web app and I want to validate a users input on a form. I
need a regular expression to validate a string which must be from 1 to
5 characters in length - each character must be a number from 0 to 9
however the string can't be comprised entirely of 0's (i.e. invalid
entries would be 0, 00, 000, 0000, and 00000)
Hope someone can help.
Thanks,
Paul