:%s/^M//g [download]
Originally posted as a Categorized Answer.
In reply to Re: Removing carriage returns from source code by TStanley in thread Removing carriage returns from source code by --OutpostMir--