---
title: "Discussion on \"The Simplest Way to Master Regex in JavaScript\" | Hashnode"
description: "Discussion on \"The Simplest Way to Master Regex in JavaScript\". What's Regex?\n\nRegex, short for Regular Expressions are useful tools to find matching patterns in a string.\n\nThey can be used to validate text from user input, check formatting of the string (like an email or a 12-digit phone number) and allows the s..."
url: "https://hashnode.com/posts/the-simplest-way-to-master-regex-in-javascript/5ee0de9673586b391a71241b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Simplest Way to Master Regex in JavaScript](https://blog.lo-victoria.com/the-simplest-way-to-master-regex-in-javascript?utm_source=hashnode&utm_medium=feed)

What's Regex? Regex, short for Regular Expressions are useful tools to find matching patterns in a string. They can be used to validate text from user input, check formatting of the string (like an email or a 12-digit phone number) and allows the s...

Jun 10, 2020 · 4 min read · blog.lo-victoria.com  
Updated Jul 22, 2024  
Read the article

-   [#regex](https://hashnode.com/tag/regex)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#tips](https://hashnode.com/tag/tips)

## Written by

[Victoria Lo](https://hashnode.com/@victoria)

@victoria · Singapore

  
[View profile](https://hashnode.com/@victoria)

A nerd in books, tea, games and software.

I'm a solutions engineer lead, GitHub Star, Director of WomenDevsSG, and co founder of ragTech. I work at the intersection of tech, systems, and leadership, and this blog is where I share my journey through all three. Expect honest reflections, real experiences, and thoughts that are still forming rather than polished career advice.

## Responses 2

Markdown supported · ⌘↵ to post

[Yann Thibodeau](https://hashnode.com/@yann510)

[Jun 13, 2020](https://hashnode.com/posts/the-simplest-way-to-master-regex-in-javascript/5ee0de9673586b391a71241b/comment/5ee45e7498c535462075d1b4)

Good introduction to Regex, well written, clear and concise, good work Victoria :)

[Victoria Lo](https://hashnode.com/@victoria)

[Jun 13, 2020](https://hashnode.com/posts/the-simplest-way-to-master-regex-in-javascript/5ee0de9673586b391a71241b/comment/5ee45e7498c535462075d1b4#reply-5ee4c84b6c513725202e9318)

Thanks Yann, glad you enjoyed it!

[Kevin Pliester](https://hashnode.com/@pixelbart)

[Jun 12, 2020](https://hashnode.com/posts/the-simplest-way-to-master-regex-in-javascript/5ee0de9673586b391a71241b/comment/5ee3cb5c98c535462075d015)

A tool which I use regularly: [regex101.com](https://regex101.com/)

I can really recommend it. Thanks for your post!

[Victoria Lo](https://hashnode.com/@victoria)

[Jun 13, 2020](https://hashnode.com/posts/the-simplest-way-to-master-regex-in-javascript/5ee0de9673586b391a71241b/comment/5ee3cb5c98c535462075d015#reply-5ee4c87298c535462075d524)

Thanks for sharing!
