\na line-feed (newline) character (ASCII 10)
.*?any Unicode character, repeated any number of times
keyword 1the literal text keyword 1 (case sensitive) .*?any Unicode character, repeated any number of times
keyword 2the literal text keyword 2 (case sensitive) .*?any Unicode character, repeated any number of times
$end of line
g modifier: global. Finds all matches instead of stopping after the first
s modifier: single line. Allows a dot to match line terminators
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string