Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How to delete conetents between two strings.

by Narveson (Chaplain)
on Sep 16, 2008 at 16:44 UTC ( #711745=note: print w/replies, xml ) Need Help??


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
    Thanks a lot. It worked.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://711745]
help
Chatterbox?
[Corion]: Viewing Tk Colours (Colors) by name has the list of all Tk colour names
[choroba]: Aren't they the standard X colours?
[ambrus]: choroba: that's not clear, since Tk runs on systems that don't even have X.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-10-17 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (227 votes). Check out past polls.

    Notices?