xxxxxxxxxx
const str = "abc's test#s";
let new = str.replace(/[^a-zA-Z ]/g, "")
// with a single regex.
//Live demo URL
https://helpseotools.com/text-tools/remove-special-characters
xxxxxxxxxx
var outString = sourceString.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi, '');