"Darrell Gallion" <darrell at dorb.com> writes: > Try this > r'(?s)Returned-Path:\s<.*>\012Recieved:' Also note that it's spelled 'Received'. It looks like the original poster is trying to do something with RFC-822 headers; any reason the rfc822 module couldn't be used? --amk