Next level would be to turn this around and build a (nice) visual regexbuilder. The would be fing nice.