After spending most of the morning solving it manually I was thinking about how an algorithm might work for this.<p>Perhaps converting each regex into a DFA, but there are too many dependencies with all the other regexes. Any ideas on how to avoid brute forcing it?