in reply to
Simple Substitution
I would use a capture group, like this:
s/([^?]\')/$1\n/g;
[download]
Comment on
Re: Simple Substitution
Download
Code
In Section
Seekers of Perl Wisdom