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