How do I extract all the dates in different format from a text file using python ? For information, the text is written in french.
Ex:
[04/30/2009 blablo 06/20/98 something else 8/2/69 happen in this moment 1/25/2011 maybe this one 9/3/2002 other blablabla Janvier 2005 this year 1974]
PS : I am not able to know all the formats of dates because the function that I seek will have to apply on many texts
(\d+)/(\d+)/(\d+)but the textual dates will need precise definitions in order to capture them.