Skip to main content

Regex Roulette · #35 · 2026-05-09

Match strings with at least one uppercase, one lowercase, and one digit

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

  • aB1 — not yet evaluated
  • Hello1 — not yet evaluated
  • passWord9 — not yet evaluated
  • A1b — not yet evaluated

Must not match

  • abc — not yet evaluated
  • ABC — not yet evaluated
  • 123 — not yet evaluated
  • ABCabc — not yet evaluated
  • abc123 — not yet evaluated
  • ABC123 — 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