Hi Raju, U r correct.. it is also accepting 31 Feb but sorry buddy I am not able to solve it still..
For YYYY - I have taken this as max 9999 years. And for ur given YYYY reg exp- I believe it is not correct.Kindly recheck it and let me know. I think u forget to use OR in between the square brackets. Regards, Gaurav On Wed, Feb 27, 2013 at 7:45 PM, gaurav sharma <[email protected]> wrote: > Hi Raju, > > U r correct.. it is also accepting 31 Feb but sorry buddy I am not able to > solve it still.. > > For YYYY - I have taken this as max 9999 years. > > And for ur given YYYY reg exp- I believe it is not correct.Kindly recheck > it and let me know. I think u forget to use OR in between the square > brackets. > > Regards, > Gaurav > > > > On Sun, Feb 24, 2013 at 9:31 AM, Raju Prasad <[email protected]>wrote: > >> >> >> ---------- Forwarded message ---------- >> From: Raju Prasad <[email protected]> >> Date: Sun, Feb 24, 2013 at 9:29 AM >> Subject: Re: Verifying Date/time format >> To: [email protected] >> >> >> Hi gaurav , >> >> >> I guess for Feb 31 also will get accepted for. what is the solution >> >> and for year pattern * [19][20]\d\d which is easy to remember* >> >> >> >> >> >> On Fri, Feb 22, 2013 at 8:28 AM, gaurav sharma <[email protected]>wrote: >> >>> *Hi Nataliya, >>> >>> Please find below the reg expression format u asked:-* >>> >>> *Format: MM/DD/YYYY >>> >>> MM: (0[1-9]|1[0-2]) >>> >>> DD: (0[1-9]|1[0-9]|2[0-9]|3[0-1]) >>> >>> YYYY: ([0-9][0-9][0-9][1-9]|[1-9]000|[1-9][1-9]00|[1-9][1-9][1-9]0)* >>> >>> * Assuming that Max year is 9999 >>> * >>> Format: HH/Min >>> * >>> *Hours: ([0-1][0-9]|2[0-3]) >>> >>> Mins: ([0-5][0-9]) >>> >>> Regards, >>> Gaurav >>> >>> * >>> On Wed, Feb 20, 2013 at 10:45 PM, Punj Prakash <[email protected]>wrote: >>> >>>> Please use regular expression. >>>> >>>> Thanks, >>>> Punj >>>> >>>> >>>> On Wed, Feb 20, 2013 at 10:13 PM, Nataliya Zamaray < >>>> [email protected]> wrote: >>>> >>>>> I need to insert some kind of checkpoint to verify that >>>>> the format is mm/dd/yyyy hh:min >>>>> >>>>> >>>>> 12/10/2012 1:28 PM EST. >>>>> >>>>> Any suggestion? >>>>> I appreciate any help from the group >>>>> Thanks >>>>> >>>>> -- >>>>> -- >>>>> 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 >>>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing" >>>>> group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>>> >>>>> >>>> >>>> -- >>>> -- >>>> 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 >>>> Groups "QTP - HP Quick Test Professional - Automated Software Testing" >>>> group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>>> >>> >>> >>> >>> -- >>> GAURAV SHARMA >>> S/W ENGG. >>> ACCENTURE >>> >>> -- >>> -- >>> 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 >>> Groups "QTP - HP Quick Test Professional - Automated Software Testing" >>> group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> >> >> -- >> >> >> * * >> *Best Regards* >> *reddy prasad* >> *9742372795* >> *9886293685* >> >> >> >> >> >> -- >> >> >> * * >> *Best Regards* >> *reddy prasad* >> *9742372795* >> *9886293685* >> >> >> > > > -- > GAURAV SHARMA > S/W ENGG. > ACCENTURE > -- GAURAV SHARMA S/W ENGG. ACCENTURE -- -- 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 Groups "QTP - HP Quick Test Professional - Automated Software Testing" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
