Type a pattern and a sample text, and every match is highlighted as you type, with the capture groups broken out beside it. The flags are buttons, and a pattern that does not compile says why instead of silently matching nothing.
A regular expression is a small language for describing text: literals, character classes, quantifiers, anchors, groups and alternation. Everything here is about learning to read and write one.
A guided tutorial, a live playground, graded exercises checked against test cases, a printable cheatsheet and a glossary. The tool needs JavaScript, because the regular expressions run in your browser.