I needed to find all the files that contained a specific string pattern. The first solution that comes to mind is using find piped with xargs grep:
This answer might be useful:
Regex (grep) for multi-line search needed
To find recursively you can use flags -R (recursive) and --include (GLOB pattern). See:
Use grep --exclude/--include syntax to not grep through certain files