title: php </br> and \n tag is not removing
body: <p>I have a problem with <code>&lt;/br&gt;</code> and <code>\n</code>. I tested the following code and the \n is not removing in text. I is every-time looks like this:</p>
  
  <blockquote>
    <p>fads\n asf \nasf \nasf \nasf \nas f\nas f\nasf \nasf \nasf s\naf</p>
  </blockquote>
  
  <p>What i am doing wrong and how can i remove the <code>&lt;/br&gt;</code> and <code>\n</code> with php?</p>
  
  <pre><code>$reply=$data['reply'];
  $reply = str_replace(array('&lt;br/&gt;', '&amp;', '"'), ' ', $reply);
  $reply = trim(preg_replace('/\s\s+/', ' ', $reply));
  $reply = str_replace("\n", '', $reply);
  </code></pre>