is there a php code to remove text?
From what? You need to be more specific.
it would work similar to this!?!
<?php *some action* (' <b><font face="Arial">TYPE!!</font></b> ') ?>
sort of the opposite to echo.
There are lots of them. Start with eregi_replace and see which one fits.