php string replace/insert
<pre><code>$example="this is an example of [link](http://webpage.com)"
</code></pre>

<p>this is an example of <a href="http://webpage.com" rel="nofollow">link</a></p>

<p>how to do make this happen using php functions?</p>

<p>many thanks</p>
