Test, validate and match regular expressions
Matches any complete line that does NOT contain the substring 'notlike'. It works by applying a negative lookahead at every character position, ensuring the forbidden substring never starts anywhere in the line. With the multiline flag, each line is validated independently, and the global flag finds all matching lines. This is the classic pattern for excluding lines that contain a specific word or phrase.