PHP usuń nie alfanumeryczny
$alphanumericString=preg_replace("/[^A-Za-z0-9 ]/", '', $whoKnowsString);
Friendly Hawk
$alphanumericString=preg_replace("/[^A-Za-z0-9 ]/", '', $whoKnowsString);