Build, test, and debug regular expressions
This PCRE regex matches lines containing the exact phrase 'V2 - ' and ending with either 'Dev' or 'Test'. It is designed to be used with multiline input, making it ideal for filtering Jenkins job names, build configurations, or environment lists. By using the global and multiline flags, it can efficiently extract specific V2 development or testing branches from a larger text file.