preg_replace, how to set string
<pre><code>$item-&gt;description = preg_replace("/\&lt;center\&gt;\&lt;a href=\"(.*)\"\&gt;\&lt;img alt=\"\" src=\"(.*)\" \/\&gt;\&lt;\/a\&gt;\&lt;\/center\&gt;/", "$2", $item-&gt;description); 
</code></pre>

<p>But I need to put result <code>$2</code> into string <code>$item-&gt;image</code>.<br>
How to do it?</p>
