in reply to
Splitting string (regex) while keeping the separator?
Read
perlintro
and use
capturing parentheses
.
Comment on
Re: Splitting string (regex) while keeping the separator?
In Section
Seekers of Perl Wisdom