Seems simple enough but I'm having some issues, I tried using preg_replace:
preg_replace("<br />", "", $string);
But what I get is this <>
in place of the <br />
in the string when outputted. The break tags in the string will always be in this format not in any of these:
<br/>
<br>
<BR />
etc.
so what's the error I'm making?