// How to normalize a string in JS // Source : https://stackoverflow.com/a/37511463 str.normalize("NFD").replace(/p{Diacritic}/gu, "") // input: crème brûlée // output: creme brulee