I'm trying to create a regex that will look for french words whether a user specifies the accented characters or not. So if the the user has searched for "déclaré" but types in declare instead I would like to be able to match the text still. I'm having difficulty making this more dynamic so that it can be matched on any french word...
Closest example from another user from a different post was:
d[eèéê]cl[aàáâ]r[eèéê]
Is it even possible to write a regex for something like this?
Any advice would be much appreciated.