javascript how to remove accents or diacritics

92

javascript how to remove accents or diacritics -

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

Comments

Submit
0 Comments