What Is Regex Crossword?
Updated
Regex Crossword is a crossword-style puzzle game where the clues are regular expressions. You fill a grid so that each row and column matches its regex clue, and you earn achievements for completing puzzle challenges. It also offers easy tutorials for people new to regular expressions, making it usable both as a puzzle game and as a hands-on way to practice regex.
How the game works
A standard crossword gives you word clues; Regex Crossword gives you pattern clues. Each row and each column of the grid has its own regular expression, and a single set of letters must satisfy all of them at once.
The core loop:
- Read the regex clue for a row or column.
- Enter letters in the cells so the row matches its pattern.
- Check the crossing columns — every column clue must match too.
- Adjust until the whole grid is consistent.
Because rows and columns constrain the same cells, solving is iterative: a letter that satisfies a row pattern may break a column pattern, so you narrow possibilities from both directions.
A small example
Suppose a 2×2 grid has these clues:
| Column 1 | Column 2 | |
|---|---|---|
| Row 1 | ^[AB]$ |
^[AB]$ |
| Row 2 | ^[AB]$ |
^[AB]$ |
Each cell must be A or B, and every row and column must be exactly one of those letters. A valid fill is:
A B
B A
Each row reads as a two-letter string matching ^[AB][AB]$, and so does each column. Real puzzles use more specific patterns — character classes, quantifiers, anchors, groups — which is what turns the grid into regex practice.
What you can use it for
- Learning regex by doing. Instead of memorizing syntax, you see immediately whether a pattern accepts the string you built. The site's tutorials are aimed at people with no regex background.
- Practicing pattern reading. Puzzles force you to parse quantifiers and character classes quickly, which transfers to reading regex in code.
- Casual puzzle play. If you enjoy crosswords or logic grids, the regex layer adds a second constraint system.
- Achievement tracking. Completing puzzle challenges earns achievements, giving a sense of progression.
Who it suits — and who it doesn't
| Reader | Fit |
|---|---|
| Complete beginner to regex | Good starting point, especially with the beginner tutorials |
| Developer wanting regex drills | Useful for pattern-reading speed; not a substitute for practicing on real data |
| Puzzle fan with no coding interest | Playable, but the regex clues are the whole challenge |
| Someone wanting a regex reference or tester | Not the right tool — this is a game, not a testing sandbox |
Practical notes before you start
- Expect to think in two directions. The most common early frustration is fixing a row and forgetting the crossing column clues. Work cell by cell where a row and column clue intersect.
- Start with the tutorials. If anchors (
^,$), character classes ([AB]), or quantifiers (+,*,?) are unfamiliar, the beginner material will save time. - Use it as a supplement. Solving grids builds pattern intuition, but applying regex to real text — log lines, form validation, search-and-replace — is a separate skill worth practicing alongside it.
The site is available at regexcrossword.com and is described as a puzzle game with achievements and beginner-friendly tutorials.