Series
How Regular Expressions Works
From basics to real-world patterns
Regular expressions are the universal tool for matching patterns in text. They show up in every language, every editor, and every command-line tool. This series starts with the simplest building blocks — literal characters and the dot — and works up through character classes, quantifiers, groups, lookaround, and engine internals. The final article is a large cookbook of real-world patterns you can use and adapt.
How to read this series: Start from the top. Each article introduces new
syntax that later articles build on. The final article is a standalone reference you can
jump into at any time.
- 001
- 002
- 003
- 004
- 005
- 006
Under the Hood & Practical Use
How regex engines work internally, and a large cookbook of real-world patterns.
- 007
- 008