RegexEditor.dev Logo

Regex Editor & Tester

Build, test, and debug regular expressions

a+b+ means OR in formal RE: a+bAlternationFormal RE✨ Emoji Combos

⚠ In formal RE, + is alternation/union, NOT "one or more". a+b ≡ a|b = {a, b}. This is the biggest syntactic difference from programming regex.

✓ Accepts
ab
✗ Rejects
εabcaaaab
Loading editor…