Entfernen Sie aus 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,'');