regex remove parentheses JS code example Example: javascript remove parentheses "Hello, this is Mike (example)".replace(/ *\([^)]*\) */g, "");