Super Searching 'files search' finds a plethora of nodes that ask similar questions. The general answer is build a regex from the strings you want to search for then work your way through the files a line at a time looking for matches against the regex.
Modules like Regexp::Any and Regexp::Assemble can help a lot with generating the regex for you from a bunch of strings.
In reply to Re: Parsing a list of files to see if any contain any one of a list of comma delimited strings
by GrandFather
in thread Parsing a list of files to see if any contain any one of a list of comma delimited strings
by OfficeLinebacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |