Introduction
We use scanning to find all parts of a text that match a pattern. It helps us pick out many pieces at once.
You want to find all email addresses in a message.
You need to get all numbers from a string of text.
You want to list all words that start with a capital letter.
You want to extract all hashtags from a tweet.