regular expression problem

John Davis john.davis.85 at gmail.com
Tue May 1 00:16:58 CEST 2007


Hi all,
I have a large logged string "str". I would like to strip down "str" so that
it contains only the lines that have "ERROR" in them. Could somebody give me
and indication of how to do this?

Thx
John.
=====
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-list/attachments/20070430/d034948d/attachment.htm 


More information about the Python-list mailing list