Hapus dari string JavaScript Regex
const removeFromString = (haystack,needle) =>
needle = "\("+needle+"\)/g" && haystack.replace(needle,'');
Brian Patterson
const removeFromString = (haystack,needle) =>
needle = "\("+needle+"\)/g" && haystack.replace(needle,'');