I am trying remove ^M characters (some kind of newline character) from an HTML file. I've tried all sorts of string.replace and sed possibilities but the things just won't go away. Does anyone have a way of removing such characters? TIA Mick