regular expression problem

John Davis john.davis.85 at gmail.com
Mon Apr 30 18:16:58 EDT 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.html>


More information about the Python-list mailing list