Regex Golf
Regex Duel
Round 1/8 Score 0 Best —
Match these
Reject these
/ /
Type a regex. Solved auto-advances.
Final score
—
—
—
How it works
- Write a JS regex (no slashes) that matches every green string and rejects every red string.
- It solves automatically as soon as the pattern is valid for all 10 examples.
- Score per round = max(0, 200 − pattern.length × 10). Shorter is better.
- Max 1600 across 8 rounds. Track your best across sessions.