Introductory to Regular Expressions 📖
We often see patterns in everyday characters and numbers ie: cell-phone #, emails, usernames, etc. How can we search for only emails or only usernames on a page no matter the sequence? In other words, how can we find if there's a pattern of usernames on the page?
We can teach the computer to recognize these pattens with the tools of regular expressions (Regex for short). If we wanted to tell the computer "go fetch all the emails in this given text!" it would look something like this: