FindList

WMA link


FindList[file, text]

returns a list of all lines in file that contain text.

FindList[file, {$text_1$, $text_2$, ...}]

returns a list of all lines in file that contain any of the specified string.

FindList[{$file_1$, $file_2$, ...}, ...]

returns a list of all lines in any of the filei that contain the specified strings.