Answers for "split to remove punctuation js"

3

remove punctuation marks from string js

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

split into sentences at any punctuation javascript

str.split(/[\\.!?]/)
Posted by: Guest on February-22-2021

Code answers related to "split to remove punctuation js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language