in reply to Re: Find & Replace
in thread Find & Replace

Moving the ,+ outside of the alternation also works.

while (<DATA>) { s{(?:(?<=23,)|(?<=bye,)),+}{}; print; }

Cheers,

JohnGG