Skip to content

Instantly share code, notes, and snippets.

View umairkhalid's full-sized avatar
🎯
Focusing

Umair Khalid umairkhalid

🎯
Focusing
  • Sydney NSW
View GitHub Profile
@umairkhalid
umairkhalid / How-To-Regex-Tutorial.md
Last active June 22, 2022 13:35
Tutorial on Validating Emails with Regex

Regex Tutorial for Validating Email addresses

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.

Summary

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.