puoi usare un ereg_replace
lo sto provando anch'io per validare le mie pagine ma non arrivo a sostituire i "?".Codice PHP:
<?php
$stringa = "Questo è un test";
echo ereg_replace(" è", " fu", $stringa);
echo ereg_replace("( )è", "\\1fu", $stringa);
echo ereg_replace("(( )è)", "\\2fu", $stringa);
?>
prova magari sbaglio io... ciao