Regular expression for different date formats in Python

Michael Torrie torriem at
Mon Nov 26 17:05:14 CET 2012

On 11/26/2012 06:15 AM, undesputed.hackerz at wrote:
> I am a beginner in python and need help with writing a regular
> expression for date and time to be fetched from some html documents.

Would the "parser" module from the third-party dateutil module work for you?

I don't believe the library is updated for Python 3 yet, sadly.  But I
bet it could be ported fairly easily.  I think it's pure python.

More information about the Python-list mailing list