Test, validate and match regular expressions
Matches any line containing the word 'test' as a standalone word (surrounded by whitespace or at the start/end of string). Uses a positive lookahead with three alternatives to check for 'test' at the beginning, middle, or end of the string, then captures the entire line with .*