Forum Discussion
alchemiz
3 years agoContributor III
Hi @vincenr
Good day, this are extended characters/ascii code which maybe be viewed in excel or other app as special character
So, what do you want to do with this characters?
Here are some options that you can do (1) replace the extended characters with the regular ones or (2) just remove all those characters
$the_text_description.replace(/”|“|‘|’|–|—/g, m=> match m { '”'=> '"', '“'=> '"', "‘"=> "'", "’"=> "'", "—"=> "-", "–"=> "-" })
or you can also totally removed those characters
$the_text_description.replace(/”|“|‘|’|–|—/g, '')
Thanks,
MM
vincenr
3 years agoNew Contributor III
OK, I will try that period. Thank but please leave this ticket open until after I verify if it works.