Test, validate and match regular expressions
This regular expression matches lines that contain the sequence "V2 - " followed by any characters and ending with the word "Master" (with optional trailing whitespace). It is specifically designed to identify Jenkins master branches, nodes, or jobs related to version 2. The multiline flag allows it to accurately process and filter multiple lines within a single text block or log output.