<?php
function RemoveSpecialChar($str)
{
$res = preg_replace('/[0-9@&^\%()#$!][}{*'".;" "]+/', ' ', $str);
return $res;
}
$str = "My name is hello and)(**&&^%$$#@! em[ail he}ll'o.world{59}8@gmail.com;";
$str1 = RemoveSpecialChar($str);
echo $str1;
?>