In this tutorial, I'm going to introduce one of the more commonly used Regular Expressions and, by describing how it works, explain some important regex concepts.
We will be walking through the following regex, explaining what each component does.
/^([a-z0-9_.-]+)@([\da-z.-]+).([a-z.]{2,6})$/