Replace morethan one characters or string to given string
/*** IT WILL REPLACE WITH SPACE WHERE GETTING NUMBERS FROM STRING ***/
$patterns = array ('/[0-9]+/');
$replace = array (' ');
echo preg_replace($patterns, $replace, '374ethendoe@hotmail.com123');
Comments
Post a Comment