RegexEditor.dev Logo

Regex Editor & Tester

Build, test, and debug regular expressions

(aa)*(aa)* — even-length strings of aKleene StarFormal RE✨ Emoji Combos

Accepts exactly the strings of a's with even length. The minimal DFA has 2 states. Classic parity exercise.

✓ Accepts
εaaaaaaaaaaaa
✗ Rejects
aaaaaaaaab
Loading editor…