What be the regex to determine whether there is date in the string or not with different date format

Posted by Harikrishna on Stack Overflow See other posts from Stack Overflow or by Harikrishna
Published on 2010-05-08T09:39:54Z Indexed on 2010/05/08 10:58 UTC
Read the original article Hit count: 132

Filed under:
|
|
|

I am parsing table information from the html table.Now I want to check whether there is date in the records for one particular column.Means I want to check whether there is date in the string or not .And date can be in different format like the string can be

FUTIDX 26FEB2009 NIFTY 0 -- There is date in the string.

FUTIDX MINIFTY 30 Jul 2009 -- There is date in the string.

FUTSTK ONGC 27 Mar 2008 -- There is date in the string.

What should be the regular expression for that ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about winforms