in reply to Re: removing duplicate lettersin thread removing duplicate letters
s/(.)\1/$1/g; [download]
s/(.)\$1/$1/g; [download]