how do i use string replace to remove a carrage return from a string
<p>Hi how do I use string replace to remove a carrage return from a string</p>

<p>here is the string:</p>

<pre><code>{ $content = '&lt;p&gt;some random text &lt;a href=
 "http://url.co.uk/link/"&gt;link text&lt;/a&gt; some more random text.&lt;/p&gt;'}
</code></pre>

<p>and here is the sring replace command</p>

<pre><code>{$content=str_replace('carrage return', '', $content);}
</code></pre>

<p>The think I cant seem to find is what to replace 'carrage return' with.  The reason for this is that I am doing a reg expression on the string which fails if there is a carrage return in the serached for string as that then doesnt match the reg expression.</p>

<p>Also on an asside note if some one posts a response to my question how do I query them back on the posting.</p>

<p>second asside how the hell do i get html to show up properly on here ive tried '' "" () {} :(</p>

<p>be gentil im a newby and already got punched in the face on here :( second post and someone dropped a load of my score :(</p>
