On Fri, Oct 04, 2002 at 04:01:05PM +0100, Nick Cleaton wrote: > I would use something like: > > s#^[> ]+##mg;
FWIW, you might like to also wipe it through Text::Autoformat::autoformat({all => 1}) Other common quote characters include : | * and those five line paragraph quotes MS products create. Removing these would require some messy logic or slurping your message whole (local $/;) into a string and using a regex like: s/^-+Original Message-+\nFrom: .*?\nSent: .*?\nTo: .*?\nSubject: .*?//mi Paul -- Paul Makepeace ....................................... http://paulm.com/ "If cheese were less stinky, then I wouldn't complain." -- http://paulm.com/toys/surrealism/