Help for this page
Select Code to Download
Select
or
download this
s/((.)\2{$n})\2*/$1/g;