Course banner

Regular Expressions

Boundaries, repetition, character sets and classes, wildcards, and more.

About This Course
You'll Learn
Common regular expression features, introduced one at a time so they're not overwhelming.
There are 30 lessons containing 242 code examples. Most people finish this course in 2 hours over 4 calendar days.
Prerequisites
Basic JavaScript knowledge. This course isn't about JavaScript, but we use JavaScript's regular expression features in our code examples.
What Other Developers Think
It's still weird to think I didn't remember regex syntax for years despite CS grad school – and now I just do, the process didn’t feel hard, and it all makes sense now.
— Ludwig W
I feel as though this course has doubled my regex abilities. I think what really worked for me was the course forced me to memorize the basics and fundamentals, which makes learning the more advanced topics easier… I have already re-worked a couple of the regexes I use in projects at work to be much simpler and efficient.
— Anthony V
Level 1
Wildcard
Quiz: Match Cat
Boundaries
Repetition
Quiz: Words Starting and Ending in T
Level 2
Locked Lesson IconLocked
Quiz: Single Phrase
Or
Escaping
Quiz: Cat or Dog or Horse
Parens
Quiz: Cat or Nothing
Level 3
Locked Lesson IconLocked
Quiz: Big and Fluffy Animals
Basic Character Classes
Basic Character Sets
Quiz: US Dollar
Character Sets
Constrained Repetition
Level 4
Locked Lesson IconLocked
Quiz: Consecutive Digits
Character Classes
Quiz: American Local Phone Number
Maybe
Quiz: One Character and Space
Character Classes in Sets
Level 5
Locked Lesson IconLocked
Quiz: Plural
Word Boundaries
Quiz: American Long-distance Phone Number
Hex Codes
Quiz: Match Hex Codes
Quiz: Dogs Only