Skip to content

Instantly share code, notes, and snippets.

View LunaRossie's full-sized avatar
🌻

Zhunn M Altmark LunaRossie

🌻
View GitHub Profile
@LunaRossie
LunaRossie / auth login
Last active September 21, 2022 05:38
Regex Tutorial
# Regex Tutorial
Regex or Regular expressions are patterns used to match character combinations in strings. In this tutorial, we will be taking a brief look into what Regex (regular expressions) are and how they work. While regular expressions may seem to be overwhelming at first glance,
just like with any language that can be broken down into its most simple parts and easily understood. A Regular expressions is a sequence of characters that defines a specific search pattern. They are often used to validate input data
## Summary
Regex (short for regular expression) is a string of text that allows you to create search patterns that match, manage, and locate text. An example code snippet of regex shows as following:
```
/[\w._%+-]+@[\w.-]+\.[a-zA-z]{2,4}/