RegexEditor.dev Logo

Regex Editor & Tester

Build, test, and debug regular expressions

a|∅∅ is the union identity: a|∅ = aAlternationFormal RE✨ Emoji Combos

Adding ∅ to a union changes nothing — ∅ contributes zero strings. a|∅ = ∅|a = a.

✓ Accepts
a
✗ Rejects
εb∅
Loading editor…