So if I search using
(?=.*Error)(?=.*Foobar1)(?=.*Foobar2)
With regular expression and newline checked. I do see it boil down to the files I am interested in. My only other need is to see all the lines associated/contained with the AND. …
The first table in the FAQ is just showing the logic for matching all of those terms. Later down in the FAQ, there is another table which explains how to find the exact line that matches all of those terms. In your case, the AND would be (?-s)(?:(?=.*Error)(?=.*Foobar1)(?=.*Foobar2))^.*(?:\R|\z)
[image: 1787010625218-59c19de8-1eb3-41e3-9fd1-14abdcb43053-image.jpeg]
or, using the Find Results via Find All in Current Document:
[image: 1787010757984-6f1d47c5-0787-4257-91c0-22189e1d79fc-image.jpeg]
dummy example file to show it working:
Blah Error Blah Foobar1 blah Foobar2
Blah Warning blah Football1 blah Football2
Blah Foobar2 blah Foobar1 blah Error order doesn't matter
Blah Error blah Foobar1 blah Footbark2 won't match because it doesn't have all three