split and regexp on textfile

mik3l3374 at gmail.com mik3l3374 at gmail.com
Fri Apr 13 09:45:05 EDT 2007


On Apr 13, 6:08 pm, "Flyzone" <flyz... at technologist.com> wrote:
> 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?

not that i know of.




More information about the Python-list mailing list