Regular Expression For Year
-
Hi, I am using .NET 1.1 and I am using a regular expression validator control. I have the following: ValidationExpression="[\d]{1,4}$" I need to check that a textbox has anything from 1 to 4 numbers, and numbers only, with no spaces. Will my regular expression cater for it? Year is not reuired, only when there is text in the textbok should it check it. Regards ma se
-
Hi, I am using .NET 1.1 and I am using a regular expression validator control. I have the following: ValidationExpression="[\d]{1,4}$" I need to check that a textbox has anything from 1 to 4 numbers, and numbers only, with no spaces. Will my regular expression cater for it? Year is not reuired, only when there is text in the textbok should it check it. Regards ma se
-
Shouldn't he be checking for either a 1 digit (leading zero implied), 2 digit or a 4 digit input? What does the year entry 402 mean?
Simply Elegant Designs JimmyRopes Designs
Think inside the box! ProActive Secure Systems
I'm on-line therefore I am. JimmyRopes