This tutorial is going to explain how the regular expressions can be used to validate the email addresses. This can be useful when validating emails using applications/technologies such as Node (Inqurier) or MongoDB. The following tutorial will help demonstrate the usage of an Email Regex search.
Regex, is a short term came out of the REGular EXpressions, which is a series of special characters which allows you to create patterns that help match, locate, and manage text. Regular expressions can also be used from the command line and in text editors to find text within a file.
This tutortial will walk you through the components of a regex and how it applies to matching an email.