Skip to content

Instantly share code, notes, and snippets.

@hsaagal78
hsaagal78 / regexTutorialExpressionlValidation.md
Last active July 27, 2023 19:05
Regex tutorial expression validation

Exploring Expression Validation

Regular expressions are a tool that allows you to search, validate, and manipulate text patterns in JavaScript. In other words, there are a way to find and work with text strings in a more efficient and effective way. In this tutorial, we will learn how to validate a particular expression. This will take us ensure the user matches the expected format.

Summary

The regex we will explore is: ([a-z0-9_.-]+).