Is there anyway to make a Regex that ignores accents?
For example:
preg_replace(\"/$word/i\", \"$word\", $str);
Set an appropriate locale (such as fr_FR, for example) and use the strcoll function to compare a string ignoring accents.