AI-powered learning
Save this course
JavaScript Regular Expressions in Detail
Explore JavaScript regular expressions: learn about regex history, create patterns with special characters, parse data, and match passwords/emails, gaining comprehensive text processing skills.
5.0
39 Lessons
3h
Updated 4 months ago
Join 2.9 million developers at
Join 2.9 million developers at
Learning Roadmap
1.
The Beginning of Regular Expressions
The Beginning of Regular Expressions
Get familiar with JavaScript regular expressions, their standards, history, and practical uses.
2.
The Anatomy of Regular Expressions
The Anatomy of Regular Expressions
Discover the logic behind defining and utilizing regular expressions with components and flags.
Defining a Regular ExpressionWhat’s Inside a Regular Expression?Special Characters: Character ClassesSpecial Characters: QuantifiersSpecial Characters: Capturing and Non-Capturing GroupsSpecial Characters: Matching the Protocol and HostnameSpecial Characters: Matching the URL and Non-Capturing GroupsFlagsExercise: A Simple InterpreterSolution Review: A Simple InterpreterSummaryQuiz on the Anatomy of Regular Expressions
3.
The RegExp Object
The RegExp Object
6 Lessons
6 Lessons
Break apart the versatile use of the RegExp object for dynamic expressions.
4.
Thinking in Regular Expressions
Thinking in Regular Expressions
8 Lessons
8 Lessons
Enhance your skills in applying regular expressions for dynamic searches, parsing dates, and puzzles.
5.
Regular Expressions in the Wild
Regular Expressions in the Wild
6 Lessons
6 Lessons
Map out the steps for practical applications of regular expressions in password and email validation, and text transformations.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
Regular Expressions, also known as Regex, come in handy in a multitude of text processing scenarios. Regex defines a search pattern using symbols and allows you to find matches within strings. The applications of this span from software engineering to data science and beyond.
In this course, you will begin with an introduction to regex, its history, and various types of regular expressions.
You will then learn how to create your own regular expressions using various techniques and special characters. In the latter half of the course, you will explore RegExp Objects, how to parse data, turn phrases into an array of strings, and lastly password and email pattern matching.
By the end of this course, you will be a regular expressions expert.
ABOUT THE AUTHOR
Fernando Doglio
Author of several JavaScript-related books, maker of software products since 2004 and all around geek.
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources