Answers for "node.js check a string for punctuation and remove it"

3

remove punctuation marks from string js

const regex = /[!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~]/g;
const result = WANTED_STRING.replace(regex, '');
Posted by: Guest on June-12-2020

Code answers related to "node.js check a string for punctuation and remove it"

Code answers related to "Javascript"

Browse Popular Code Answers by Language