in reply to RE: Remove the ^M Character from a Document
in thread Remove the ^M Character from a Document

This works for me. $string =~ s/(\n|\r|\x0d)//g;
  • Comment on Re^2: Remove the ^M Character from a Document