Answers for "remove with regex javascript"

0

js remove special characters

var desired = stringToReplace.replace(/[^\w\s]/gi, '')
Posted by: Guest on September-23-2020
3

javascript regex replace

const search = 'duck'
const replaceWith = 'goose';

const result = 'duck duck go'.replaceAll(search, replaceWith);

result; // => 'goose goose go'
Posted by: Guest on June-23-2020

Code answers related to "remove with regex javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language