in reply to
Delete from string through s///
I think you want the /g flag on the substitution to make it do all matches, not just the first. See
perlop
.
Comment on
Re: Delete from string through s///
In Section
Seekers of Perl Wisdom