Remova os marcos de pontuação de String js
const regex = /[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/g;
const result = WANTED_STRING.replace(regex, '');
Ghaith Alzin
const regex = /[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/g;
const result = WANTED_STRING.replace(regex, '');