Regex Roulette · #39 · 2026-05-13
Match strings that are a pattern repeated exactly 3 times
Difficulty 3/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
- abcabcabc — not yet evaluated
- xyzxyzxyz — not yet evaluated
- ababab — not yet evaluated
- aaa — not yet evaluated
Must not match
- abc — not yet evaluated
- abcabc — not yet evaluated
- abcabcabcabc — not yet evaluated
- hello — 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