This searches for lines matching a regular expression like the grep command.
You can install this workflow by downloading the .alfredworkflow file from:
https://github.com/ichitaro/alfred-grep
Notes:
Input files are supposed to be encoded in UTF-8.
For performance reasons, please consider using Alfred's File Buffer to reduce search scope, instead of passing a large directory tree to the file action.