title: Getting rid of escape characters in PHP
body: <p>I've got a string containing values such as <code>"hello world\' hello world\'"</code> and I'd like to get rid of the escape characters (the backslashes.)</p>
  
  <p>I've tried the following code:</p>
  
  <pre><code>str_replace("\\", "", $data);
  </code></pre>
  
  <p>But it doesn't seem to work.</p>