Regular expressions are one of those tools every developer eventually needs, but the dense syntax โ quantifiers, character classes, anchors โ trips people up long after they've "learned" it once. This 12-question quiz checks how well you understand the building blocks of regex patterns, from basic quantifiers to character class negation and capturing groups. It takes about 3 minutes, with an explanation after every answer.
Once you've tested your knowledge, check a real pattern against sample input with the Regex Validator, or build one from a plain-language description with the Regex Generator.