Regex Roulette · #62 · 2026-06-05
Match camelCase identifiers (start lowercase, has uppercase)
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
- camelCase — not yet evaluated
- myVar — not yet evaluated
- helloWorld — not yet evaluated
- getData — not yet evaluated
Must not match
- PascalCase — not yet evaluated
- lowercase — not yet evaluated
- ALLCAPS — not yet evaluated
- snake_case — 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