get all digits closed by parentheses in regex code example Example: regex get number inside parentheses /\(\d*?\)/g