Удалить из строки JavaScript REGEX
const removeFromString = (haystack,needle) =>
needle = "\("+needle+"\)/g" && haystack.replace(needle,'');
Brian Patterson
const removeFromString = (haystack,needle) =>
needle = "\("+needle+"\)/g" && haystack.replace(needle,'');