title: Replace returns with spaces and commas with semicolons?
body: <p>I want to be able to be able to replace all of the line returns (\n's) in a single string (not an entire file, just one string in the program) with spaces and all commas in the same string with semicolons. </p>
  
  <p>Here is my code:</p>
  
  <pre><code>    $str =~ s/"\n"/" "/g;
      $str =~ s/","/";"/g;
  </code></pre>