I'm looking for a regex that match the keyword pepe in the string Pépé Dominguez
pepe
Pépé Dominguez
I don't want to sanitize the Pépé dominguez string before test.
Pépé dominguez
If you only need to match Pepe or Pépé, i would just do this:
Pepe
Pépé
/pépé|pepe/gi
Simple, but it works.