date formate in regular expression

Posted by Suneel161 under Regular Expressions on 3/15/2010 | Views : 1240 | Status : [Member] | Replies : 3
hii

how to give (11-march-2010) this format in regular expression.




Responses

Posted by: SurajRane on: 3/15/2010 [Member] Starter

Up
0
Down
Regular expression =

^(([0-9])|([0-2][0-9])|([3][0-1]))\/(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\/\d{4}$

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sagarp on: 3/17/2010 [Member] Bronze

Up
0
Down
check following links

http://regexlib.com/UserPatterns.aspx?authorId=dc98955c-6d15-47ab-a8fd-a0b4efca4c7f

Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sagarp on: 3/17/2010 [Member] Bronze

Up
0
Down
check following links

http://regexlib.com/UserPatterns.aspx?authorId=dc98955c-6d15-47ab-a8fd-a0b4efca4c7f

Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response