in reply to Re: Replacing with multiple occurrences.in thread Replacing with multiple occurrences.
s/((.)\2*)\1/$1/g [download]