Slurp your stuff into a multi-line string, call it $stuff.
my $TEMP_PATTERN = qr{ \*\*Temp\*\* .* \*\*End \s+ Temp \s* \*\* }msx; $stuff =~ s/$TEMP_PATTERN//;
In reply to Re: How to delete conetents between two strings.
by Narveson
in thread How to delete conetents between two strings.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |