Regex encontre linhas contendo duas cordas
^(?=.*\bstring1\b)(?=.*\bstring2\b).*$
Dabe
^(?=.*\bstring1\b)(?=.*\bstring2\b).*$
((.|\n)*)<FooBar>