regex for parentheses number close parentheses code example Example: regex get number inside parentheses /\(\d*?\)/g