in reply to
Perl = reg Exp - Cut info in middle
look at
perlop
and
perlre
for the
s///
substitution .. something like:
$s =~ s/Info_to_cut//;
[download]
Though using the
split
function might work better ... depends on your exact needs -- can you provide some real samples (input and desired output)?
Comment on
Re: Perl = reg Exp - Cut info in middle
Select
or
Download
Code
In Section
Seekers of Perl Wisdom