while (<INFILE>) { s/([A-Za-z])\1/$1/g; } [download]
In reply to Re: Removing characters by chromatic in thread Removing characters by TStanley