how can replace the font style in php using preg_replace
<p>I need help, i was get the value from database that contain html tag also like below</p>

<pre><code>&lt;span style="font-size:medium;border:1px solid #e4e4e4"&gt;Test value&lt;/span&gt;
</code></pre>

<p>also same font family,font style and etc...
i need to remove all the <code>font property</code> from that tag using preg_replace in php and do replace the other property, i try like this </p>

<pre><code>$value=$row['comment'];
$test=preg_filter('font:size', '', $value);
</code></pre>

<p>please help me and thak advs....</p>
