I have a server validation for ID number validation in the text box field, the regular expression is:
It works well when the user input is not exactly six digit number except it can't detext zero, i.e. when user doesn't input any thing and press enter, it will pass to the next step processing. How to change the regular expression so that it can exclude empty input?
Thanks a lot,