(ASP.NET) ValidationExpression needed.
Posted on 2003-11-25
I need a ValidationExpression for a RegularExpressionValidator. Value must be 16 characters in length.
First character must be a letter a thru z or A thru Z (first letter of last name)
Second character must be a letter a thru z or A thru Z (first letter of first name)
Third chracter must be a letter m or f or M or F (Male or Female)
Next Eight characters will hold DOB value, i.e., 05031955 or 12211970 (DOB)
Character number 12 must be a hyphen (-)
Last 4 characters will be last for digits of SSN (1234)
Here is an example, SMM05031955-1234
If someone's got the time, I'd really appreciate your help.