Any Detailed Documentation on using Regex in Title & Metadata Correction - Corrected Title

Does anyone have any detailed documentation or examples for using Regular Expressions in the Corrected Title area in the Internet Title & Metadata Correction Section ???

I have filename like this:
Beach Girls and the Monster (1965) 2022-03-12-2159

And I want:
Beach Girls and the Monster (1965)

But without Regex using a custom filename script of $showname$ ($airyear$) I get this:
Beach Girls and the Monster (1965) (2022)

Have you tried using $premeireyear$ instead of $airyear$ ?

See this post for an example of how to use regex with matching groups