Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove punctuation marks from string js

const regex = /[!"#$%&'()*+,-./:;<=>?@[]^_`{|}~]/g;
const result = WANTED_STRING.replace(regex, '');
 
PREVIOUS NEXT
Tagged: #remove #punctuation #marks #string #js
ADD COMMENT
Topic
Name
1+5 =