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/;
In reply to Re: Regex required
by Anonymous Monk
in thread Regex required
by vaibhav07
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |