Test, validate and match regular expressions
Matches text wrapped in two or three opening parentheses and exactly three closing parentheses, e.g. ((value)) or (((value))), capturing the inner content (any characters except '}'). The lazy quantifier ensures the captured group is as short as possible. Useful for extracting tokens, variables, or placeholders from doubled/nested bracket syntax in templates, migration scripts, or scraped data; the g flag finds all occurrences.