Geoff: Its not vim’s fault!! I’ve deliberately got my vim set to expressly show these line endings – we develop for a linux platform so windows line endings are bad news and I like to be able to see them. I’m surprised to see you recommend perl’s regex over vim’s as my understanding is that the vim one is powerful. Certainly I haven’t needed anything it can’t do, and having the functionality right in the editor is very useful.