split and regexp on textfile

Flyzone flyzone at technologist.com
Fri Apr 13 06:08:05 EDT 2007


On 13 Apr, 11:30, "Flyzone" <flyz... at technologist.com> wrote:

> all together :(

Damn was wrong mine regexp:
pat = re.compile("[A-Z][a-z][a-z][ ][A-Z][a-z][a-z][ ][0-9| ][0-9][ ]
[0-9][0-9][:][0-9][0-9]",re.M|re.DOTALL)

now is working! :)
Great! really thanks for the helps!

A little question: the pat.split can split without delete the date?




More information about the Python-list mailing list