Learn Regex
28 chapters that take you from "what even is a regular expression" to lookbehind, catastrophic backtracking, and interview questions. Each chapter is short, has a runnable demo you can edit, and ends with exercises — so you are writing patterns from chapter three onward, not reading about them. Progress is saved locally in your browser and the whole course is free.
Prefer a single reference page? Read theregular expressions guideor keep thecheat sheet open while you work.
Course Syllabus
Your progress
0 / 28 lessons · 0%
Practice what you learn
Regex Tester
Test a regular expression against sample text and see every match highlighted live.
Regex Generator
Build a pattern by clicking blocks — no syntax memorisation required.
Regular Expressions Guide
What regex is, how the syntax works, and the mistakes that trip people up.
Regex Cheat Sheet
Every token, quantifier, and assertion on one printable page.
Python Regex Guide
The re module end to end — search, match, findall, groups, and substitution.
Regex Pattern Library
100+ ready-to-use patterns for email, URLs, dates, IPs, and more.