Ciao.
Scusate il titolo ma penso renda l'idea.
Sto cercando una regex che mi accetti
tutte le lettere anche quelle proprie
di un dato paese ad esempio
č,ģ per l'italia
ē per la francia
e cosģ via
gli spazi e anche il famigerato '
Deve accettare ad esempio
De andrč
Dell'anēois
Rossi
ho tirato fuori dal cilindro
questa regex
#^\D+\'?\s?\D+$#$string1= "Dell'Oglič";
var_dump(preg_match("#^\D+\'?\s?\D+$#", $string1));
$string1= "De G3lič";
var_dump(preg_match("#^\D+\'?\s?\D+$#", $string1));
va bč l'apostrofo č \'
Puoi andar bene ?