Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #33940
| Date | 2012-11-26 09:05 -0700 |
|---|---|
| From | Michael Torrie <torriem@gmail.com> |
| Subject | Re: Regular expression for different date formats in Python |
| References | <804a4170-a317-482c-8eca-e76027a0ee85@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.292.1353947661.29569.python-list@python.org> (permalink) |
On 11/26/2012 06:15 AM, undesputed.hackerz@gmail.com 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? http://pypi.python.org/pypi/python-dateutil http://labix.org/python-dateutil#head-c0e81a473b647dfa787dc11e8c69557ec2c3ecd2 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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Regular expression for different date formats in Python undesputed.hackerz@gmail.com - 2012-11-26 05:15 -0800
Re: Regular expression for different date formats in Python Vlastimil Brom <vlastimil.brom@gmail.com> - 2012-11-26 17:30 +0100
Re: Regular expression for different date formats in Python Michael Torrie <torriem@gmail.com> - 2012-11-26 09:05 -0700
Re: Regular expression for different date formats in Python Miki Tebeka <miki.tebeka@gmail.com> - 2012-11-26 13:57 -0800
Re: Regular expression for different date formats in Python Miki Tebeka <miki.tebeka@gmail.com> - 2012-11-26 13:57 -0800
csiph-web