title: How to replace "\" using str_replace() in PHP?
body: <p>I would like to remove all back slashes from strings on my site. I do not wish to use strip_slashes(), because I want to keep forward slashes.</p>
  
  <p>This is the code I am trying:</p>
  
  <pre><code>echo str_replace("\", "", "it\'s Tuesday!");
  </code></pre>
  
  <p>I want to find the backslash in any given string and remove it. But, this code is not working right.</p>
  
  <p>Error:</p>
  
  <pre><code>syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
  </code></pre>
  
  <p>What could I be doing wrong?</p>