2
How to create a regular expression in the right way where only uppercase and lowercase letters are accepted, along with accents?
This is to validate a string
by name, I created it as follows:
$String = preg_replace("/([^a-zà-úA-ZÀ-Ú ])/", "", $String);
It works perfectly but with a however, because it comes together the characters: äåæËэээшя
There is another way to create without these characters coming together?