my $body = $the_html_string; $body =~ s/(<body.*?>)/$1/sgi; [download]
In reply to Re: Regular Expression by kwaping in thread Regular Expression by Anonymous Monk