Test, validate and match regular expressions
This regular expression matches any line that contains the exact path "/Group1/" but explicitly excludes lines that contain either "Tag3" or "Tag4". It uses a negative lookahead at the start of the line to ensure those restricted tags do not appear anywhere before matching the desired group path. This is particularly useful for filtering log files, routing configurations, or directory paths where you need to isolate specific group entries while ignoring certain tagged exceptions.