in reply to Re: Replacing with multiple occurrences.
in thread Replacing with multiple occurrences.
That gives the same output like your does.s/((.)\2*)\1/$1/g;
----------------------------------- --the good, the bad and the physi-- -----------------------------------
|
|---|