ag make it easy to search for lines in a
file that contain certain text and patterns. They all come with the
flag which tells them to only show the part that matches.
This is particularly powerful when used with regex and piped into other programs.