Answers for "javascript escape string with diacritics problem"

2

remove accesnt and simbols and paranthesis from text js

var originalText = "éàçèñ"
var result = originalText.normalize('NFD').replace(/[\u0300-\u036f]/g, "")
console.log(result)
Posted by: Guest on June-14-2020

Code answers related to "javascript escape string with diacritics problem"

Code answers related to "Javascript"

Browse Popular Code Answers by Language