Skip to main content

Regex Roulette · #44 · 2026-05-18

Match 24-hour time format (HH:MM)

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

  • 00:00 — not yet evaluated
  • 12:30 — not yet evaluated
  • 23:59 — not yet evaluated
  • 09:05 — not yet evaluated

Must not match

  • 24:00 — not yet evaluated
  • 12:60 — not yet evaluated
  • 9:05 — not yet evaluated
  • 12:5 — not yet evaluated
  • 25:00 — 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