<?php
$tag="<font color=red size=2>";
$get=preg_replace("/^(<font)(.*)(>)$/","\\2",$tag);
echo $get;
?>
The code above will display color=red size=2.
Is that what you want to get?
Note:
I dunno what happen to this forum. There should be two backslashes before "2" at the preg_replace syntax (not one).
There is no space after the ">" symbol on the same line.