# Finding Text

Finding Text: Finding Text: grep, Patterns: Regular Expressions for grep.

Updated: November 10, 2026

1. [Finding Text: grep](https://www.ask-codey.com/lessons/bash-grep) (Apprentice): grep prints every line that contains a word or phrase, in one file, in many files or in a whole folder, and its options ignore capitals, number the lines, list only the files that match, count the matches or show the lines that don't match.
2. [Patterns: Regular Expressions for grep](https://www.ask-codey.com/lessons/bash-regular-expressions) (Journeyman): A regular expression describes the shape of the text you want instead of the exact words, so grep can find every phone number or every date in a file; this lesson builds patterns from . and \[ \], ^ and $, \* and, with grep -E, + and |.

Source: https://www.ask-codey.com/courses/bash-in-depth/topics/bash-finding-text
