Hi, you can store all the values you want to remove in an array,
e.g.
<?php
$cleanThese = array("!","-","$"); // etc etc etc
$dirtyString = "!!!HELLO, I'm a dirty $tring--!!";
$cleanedString = str_replace($cleanThese, $dirtyString);
// Will return: HELLO, I'm a dirty tring";
?>
Also, if you mean turn all characters into HTML based characters I think htmlspecialchars($var); will work.