Given a regular expression, how can I list all possible matches? For example: AB[CD]1234, I want it to return a list like: ABC1234 ABD1234
I searched the web, but co
Exrex can do this:
$ python exrex.py 'AB[CD]1234' ABC1234 ABD1234