RegexTester.dev Logo

Regex Tester & Validator

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…