by: Yonas Woldemichael
This is a tutorial outlineing what a regular expression is, but more specifically, what a Regex matching an Email is.
I will be summarizing the Regex (or Regular Expression) for matching an email. As a final product, this is what the regex for a matching email looks like: "/^([a-z\d.-]+)@([a-z\d-]+).([a-z]{2,8})(.[a-z]{2,8})?$/". Now, to the naked eye, this may seem like a blop a characters thrown on a readMe (because honestly speaking that is what I initially thought of it as), however there are simple yet unique identifiers that each of those characters signify. What are they you might ask? Well continue reading as I will be explaining just that below.