re.sub problem

Darrell Gallion darrell at dorb.com
Fri Nov 3 20:33:16 EST 2000


>>for i in re.findall("(?s)}',
'(From:.*?\015\012Subject:.*?)\015\012\015\012'\)", s):
            print i

----------- output -------------
From:
tele at telegraph.co.uk
Subject: TPLO Sport Talk
From: The Mutual
<mobilesatprizescratch.com at traq.it>
Subject: Great WAP Phone
Offer


--Darrell






More information about the Python-list mailing list