title: PHP Removing Windows ^M Character
body: <p>I have a CSV I am downloading from a source I'm not in control of and the end of each line is a </p>
  
  <pre><code>^M 
  </code></pre>
  
  <p>character when printed to a bash terminal. How can I sanitize this input programmatically in PHP?</p>