Regex Roulette · #9 · 2026-04-13
Match 3-character palindromes
Difficulty 2/3
How to play
Write a regex that matches all green strings and rejects all red strings. Live feedback shows which strings pass. Shorter patterns score better.
Must match
- aba — not yet evaluated
- sos — not yet evaluated
- mom — not yet evaluated
- dad — not yet evaluated
Must not match
- abc — not yet evaluated
- ab — not yet evaluated
- abba — not yet evaluated
- dog — not yet evaluated
Loading your progress...
Pattern body only — slashes and flags (e.g. /g, /i) aren't part of the input.
0/200 chars
Type a regex that matches all green strings and rejects all red strings · Back to hub