Hapus semua simbol JavaScript
const removeAllSymbols = (string) => {
const regex = /[0-9/A-Z/a-z/ /]/g;
const letters = string.match(regex);
const newText = letters.join("");
return newText
};
console.log(removeAllSymbols("Hel+-*lo /Worl+-d"))
//Hello /World
mrmalik610