in reply to Re: Regexp for date
in thread Regexp for date
This is a follow up post:
I am thinking to have an much universal solution that match anything like a date, so that I can cut a chunk of text by date where a date appear (That is why I don't need them to be valid)
The problem I encounter is: There is too much date format that appear in the document I need to process:
2008-03-04
2008-3-4
2008-03-4
2008-3-04
or
03-04-2008
3-4-2008
and so on
hypen, common, slash are possible as seperator
Also US and british style may appear
|
|---|