01 / 09
Some things you cannot put into words
The grep from the last lesson looks for "lines with this word in them". But what you are after cannot always be put as a word.
- "the lines with a phone number on them"
- "the lines that start with a date"
- "the bits that look like an email address"
That is a shape, not a word. The way of writing a shape down is a regular expression.