With the doubt of people advoiding this, im my personal view, a better way to do this is:
$blocked = array("www" => "",
"com" => "",
"co.uk" => "",
"org" => "",
"bumfluff" => "[i inserted a naughty word :O]");
$mailBody = strtr($_POST['mail'], $blocked);