View Single Post
Old 09-21-2017, 01:33 AM   #378
schnesim
Member
schnesim began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Aug 2017
Device: Kindle 2. Gen
Quote:
Originally Posted by dsestero View Post
Schnesim, I don't know Python but in the past I was a Java programmer. May be I can help with the regular expression if you point it to me.

Good night,
Dario
Quote:
date_time_re = r'([0-2]?[0-9] ) : ([0-5][0-9])(?:: ([0-5][0-9])(?:\.([0-9]+))?)?\s*([AP]\.?M)?\s*(?:[A-Z]{3}?([+-][0-2]?[0-9](?::[0-5][0-9])?))?'
Have fun

(I had to add some spaces to prevent some parts being converted to smileys.)
schnesim is offline   Reply With Quote