Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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//;


Comment on Re: How to delete conetents between two strings.
Select or Download Code
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-07-11 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (218 votes), past polls