Answers for "nodejs clean weird encoded characters"

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 "nodejs clean weird encoded characters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language