in reply to please help!!! delete the first few lines of an email without deleting the following lines.

If you really want to use a regex, use something like
$emailtext =~ s/^(.*?)?=Content-Transfer-Encoding//s;
but I'd rather recommend parsing it with Mail::Internet.
  • Comment on Re: delete the first few lines of an email without deleting the following lines.
  • Download Code

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.