Regex Crossword

Fill the grid so every row and column matches its regular expression.

Level 1
Level 2
Level 3
Level 4
Level 5
0:00

Letters used in this puzzle: A B C

[^B]C
BA|C+
A[BC]
C(A|B)
EmptyFits row and columnBreaks a patternHint

Regex Crossword is a logic puzzle where each cell holds one character. Row patterns are on the left, column patterns above (read bottom to top). Every pattern must match its whole line. Patterns use character classes like [^AB], alternation like AB|CD, quantifiers like +, *, ? and {2}, and backreferences like (.)\1. Typing moves to the next cell; arrow keys move around. A cell turns green when its row and column can still both match, and red when it cannot. Hint fills in one empty or wrong cell; puzzles solved with hints are marked separately and do not set a best time.

About This Tool

How to Use
  1. Select a puzzle from the difficulty levels
  2. Type one character per cell; the cursor moves to the next cell
  3. Each row must match its regex pattern (shown on the left)
  4. Each column must match its regex pattern (shown above, read bottom to top)
  5. A cell turns green when its row and column can both still match, red when one cannot; fill the whole grid to win
Common Use Cases
  • Learning regular expressions through interactive puzzles
  • Practicing regex pattern matching in a fun way
  • Teaching regex concepts to students or team members
  • Sharpening pattern recognition skills
Tips & Tricks
  • Start with Level 1 puzzles to learn the basics
  • Only the letters listed above the grid are used in a puzzle
  • Backreferences like (.)\1 mean the same character must appear again
  • Hint fills one cell, but puzzles solved with hints do not set a best time
  • Your best time for each puzzle is saved in your browser

Related Tools