in reply to Re: Perl replacement for choice.comin thread Perl replacement for choice.com
You don't have to capture a character at all:
$show_choices =~ s/(?<=.)(?=.)/,/g;
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (392 votes). Check out past polls.