PHP Strip Non-Alphanumeric Chars from a String
Find myself using this fairly often:
$string = preg_replace("/[^a-z0-9]+/i", "", $string);
Devtrepreneur from Scotland
Find myself using this fairly often:
$string = preg_replace("/[^a-z0-9]+/i", "", $string);