Regex Expansion Tool

Enter one finite regex per line and expand its alternations into individual strings.

Supported: (a|b), nested groups, ?, empty alternatives, (?:...), character classes such as [abc], escaped literals such as \., and bounded quantifiers such as {2,4}.
Regex anchors ^ and $ are treated as zero-width assertions and therefore aren't included in the output.
Unbounded *, +, and unrestricted {n,} are rejected because they have infinitely many expansions.
Results will appear here.