title: regular expression to replace ^M with \n or to remove ^M
body: <p>I have a file where I want to remove ^M character from below</p>
  
  <p>line1;^Mline2;</p>
  
  <p>to have output as below:</p>
  
  <p>line1;
  line2;</p>
  
  <p>How can I achieve this without creating a temporary file? Would appreciate any shell command, perl command or eclipse find and replace. </p>