Photo by Pixabay from Pexels

(Tutorial) Unleashing the power of examples in learning regex. Part 1 with example on email extraction (with python & c++ code)

Let’s start with the basics.

What’s REGEX?

Regex is the tool to find specified matches in string like: e-mails, names, cities, syntax errors, tickers etc …

To put it simply when you want to extract specified words (in our example emails) from the below text — regext is your friend!