Well, in all honesty I thought you had been banging your head on the keyboard when I first saw it. :D
After seeing this and thinking about it, this is fascinating methodology, and I've begun studying it.
This subject is still way above me so I can't make a conclusive comment here, but I did find this regular expression tester. At the moment I can't see how it works, and it may not be advanced enough for what you are looking for.