RegexTester.dev Logo

Regex Tester & Validator

(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…