Skip to content

Instantly share code, notes, and snippets.

REGEX Tutorial

This tutorial is designed and broke down to hopefully simplify and better solidify ones understanding to using regular expressions efficiently.

Summary

The example I'm going to use for this tutorial is a Email validator the following is the Regex we will be looking at /^([a-z0-9_\.-]+)@([\da-z\.-]+)\.([a-z\.]{2,6})$/

Table of Contents