I know how to search for a single string in several files at once with Sublime 3 (explained here).
What I need to do is to search for multiple strings
Just came across this old question and thought I'd add my solution, which may be useful for somebody in the future.
Sublime supports searching in all open folders and can use regex. So utilizing both, you can open or add all folders you want to search in to the project and use regex to search for multiple keywords. In your case it would be the following (make sure to check the regex box .*
icon):
Find: (string1|string2)
Where: <open folders>
I tried this on Sublime Text2, so should work on Sublime Text3 as well.
Field: string1 string2 string3 string4 Where: /path_to_folder_containing_the_files_I_want_to_ search/
Note: uncheck '.*' which means Regular Expression and check "" which means look for the whole word.
This will search for the pattern "string1 string2 string3 string4" in all the files in the mentioned folder.
I use this:
checked Regular expression
Find: (string1.*string2)
Where: *.php