Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Regex required

by Anonymous Monk
on May 04, 2012 at 07:51 UTC ( #968880=note: print w/ replies, xml ) Need Help??


in reply to Regex required

You can answer your own question if you read http://perldoc.perl.org/perlintro.html#Regular-expressions and quotemeta

my $start = ...; my $end = ...; my ( $between ) = $input =~ m/\Q$start\E(.+?)\Q$end\E/;


Comment on Re: Regex required
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://968880]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2014-09-30 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (371 votes), past polls