Hi Raju,

This one is the correct answer for yyyy pattern. the only limitation in
this is that it will only take 19s and 20s years.

Could you pls give some KT to use the link u mentioned in ur mail.

Regards,
Gaurav

On Fri, Mar 1, 2013 at 8:59 AM, Raju Prasad <[email protected]> wrote:

> Hi Gaurav,
>
> *this is the correct expression for year format (19|20)\d\d*
>
> and can any one give sol for reg exp on FEB 28 which it should not accept
> 30 or 31 i,e based on leap year
>
> and u can use a site which you can validate your self that exp you have
> given is the valid one or not
>
>                    *http://www.regextester.com*
>
>
>
> 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
>>
>
>
>
> --
>
>
> * *
> *Best Regards*
> *reddy prasad*
> *9742372795*
> *9886293685*
>
>
>


-- 
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.


Reply via email to