1//Normalize diacritics characters from originalText
2var originalText = "éàçèñ"
3var result = originalText.normalize('NFD').replace(/[\u0300-\u036f]/g, "")
4console.log(result)
1var originalText = "éàçèñ"
2var result = originalText.normalize('NFD').replace(/[\u0300-\u036f]/g, "")
3console.log(result)