PHP Eliminar entrar de la cadena
$_result = trim(preg_replace('/\s+/', ' ', $original_text));
Ivan The Terrible
$_result = trim(preg_replace('/\s+/', ' ', $original_text));