@Petrealexandru, Thanks for your input. I just gave a thought, so that they can try. I know that it has got some limitations.
Regards, Suman Ch On Tue, Aug 23, 2011 at 7:17 PM, Petre Alexandru <[email protected] > wrote: > Try this ((3[0-1])|(2\d)|(1\d)|(0?[1-9]))\-[A-Za-z]{3}\-(1[0-9]|20)[0-9]{2} > > works for both: 6-Jan-2009 and 06-Jan-2009,it limits the day from 1 to 31 > , not so restrictive for month it has to be 3 letters long (it's not case > sensitive) , the year goes from 1000-2099. > > I can write it in a different way , let me know if it works! > > @[email protected] your solution won't work beacause [a-z][a-z][a-z] > selects only lowercase , also you have to be more restrictive when you write > reg exp. > > On Tue, Aug 23, 2011 at 4:12 PM, suman ch <[email protected]> wrote: > >> Hi , >> >> Try the following: >> >> [0-9]/-[a-z][a-z][a-z]/-[0-9][0-9][0-9][0-9] >> >> Regards, >> Suman Ch >> >> >> On Mon, Aug 22, 2011 at 12:30 PM, Blessy <[email protected]> wrote: >> >>> >>> Hi, >>> >>> Need date regular expression for the below date pattern: >>> 16-Jan-2009 >>> >>> Thanks, >>> Deepti >>> >>> -- >>> You received this message because you are subscribed to the Google >>> "QTP - HP Quick Test Professional - Automated Software Testing" >>> group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/MercuryQTP?hl=en >> >> >> -- >> You received this message because you are subscribed to the Google >> "QTP - HP Quick Test Professional - Automated Software Testing" >> group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/MercuryQTP?hl=en >> > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
