For example, let's say I have this regex:
This can very easily be shortened to this:
They both will do exactly the same thing, but the second one is shorter.
Is there a tool that I can put regex into and it will return a shortened version, much like the example above?
If it matters, I'm talking about Python regex.
Thanks in advance.