drop special characters = false code example
Example: remove all sign that is not a-b in string js
const str = "abc's test#s";
console.log(str.replace(/[^a-zA-Z ]/g, " "));
const str = "abc's test#s";
console.log(str.replace(/[^a-zA-Z ]/g, " "));