01-31-2008, 10:48 PM
well...the OP has asked for the format MM/DD/200Y
(0[1-9]|1[012]) --- This covers the MM part of the whole expression. [1-9] means any numeral between 1 and 9. [012] means either 0 or 1 or 2
| separator stands for "OR".
So when you group the whole expression it mean either look out for month from 01 to 09 or 10 or 11 or 12 month. So this covers the whole range of months available (from Jan to Dec)
(0[1-9]|1[012]) --- This covers the MM part of the whole expression. [1-9] means any numeral between 1 and 9. [012] means either 0 or 1 or 2
| separator stands for "OR".
So when you group the whole expression it mean either look out for month from 01 to 09 or 10 or 11 or 12 month. So this covers the whole range of months available (from Jan to Dec)
Want to fast track your QTP/UFT Learning? Join our UFT Training Course