Have you ever looked a sequence of characters known as a regular expression and wondered what is going on here? Well, this tutorial is a great place to find answers. We're going to look into regular expressions or "Regex" for short and break down the component parts of each expression translating the mean of each component.
The regex code I will be describing is the following: /^([a-z0-9_.-]+)@([\da-z.-]+).([a-z.]{2,6})$/
This is code for matching an email. Below, I will break down the different components of the regex and describe their functionality.