Test, validate and match regular expressions
Matches text enclosed in parentheses along with any surrounding whitespace on each line (global and multiline flags). Commonly used in PowerShell scripts to rename ROM files by stripping parenthesized tags like (USA) or (Rev A) from filenames. Note that the greedy .* spans from the first opening to the last closing parenthesis on a line, so multiple adjacent tags are matched together.