$str = “@ % * alpha numeric 0 – 9 only _ – +@_#()()++”;
$str = preg_replace(‘/[^A-Za-z0-9]/’, ”, $str);

echo $str;
returns alphanumeric09only

Sorry, the comment form is closed at this time.

© 2012 James Border Suffusion theme by Sayontan Sinha