in reply to How to delete conetents between two strings.
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//;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to delete conetents between two strings.
by Anonymous Monk on Sep 16, 2008 at 18:43 UTC |