javascript how to remove accents or diacritics

89

javascript how to remove accents or diacritics -

str.normalize("NFD").replace(/\p{Diacritic}/gu, "")

Comments

Submit
0 Comments