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