javascript how to remove accents or diacritics

100

javascript how to remove accents or diacritics -

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

Comments

Submit
0 Comments