vim remove line breaks
I've copied a bunch of text into vim and I need to get rid of the line breaks. I've tried
:%s/^M// (where ^M is C-v C-m)
none of which work. If I issue
all lines are terminated with a '$'. How can I get rid of them?