Title: Custom RE for Variation in Length
Name: Rajan Kapadia
Date: 7/25/2005 12:42:43 AM
I want modify this RE for Combination of various string...
ie : for MDY, MDDYYYY,MDYYYY....etc..How can I do it?
can u help me to make this ?
Can I go length-wise diffrent RE ?
means: for stringLength(8) = your given RE
for stringLength(7) = modified this RE to recognize only 7 digit string .
similarly do the modification upto 3 digit string .. which validate and identify Data formats in MMDDYYYY format ......
can u Guide me How I can do it?
Date: 3/18/2005 10:06:55 AM
Can you force 8 digits only? 222005 will pass your expression.