Home Autogenerate Regular Expressions with txt2re

Autogenerate Regular Expressions with txt2re

Hate writing regular expressions? Of course you do. That’s why txt2re exists.

Billed as “headache relief for programmers,” txt2re let’s you input a string and and then use a simple wizard that generates a regex program in Perl PHP, Python, Java, Javascript, ColdFusion, C, C++, Ruby, VB, VBScript, J#.net, C#.net, C++.net or VB.net.

“A good data munger excels at turning coffee into regular expressions and parsers, implemented in a high-level scripting language of choice (often Perl, Python, even Javascript),” Michael E. Driscoll wrote in 2009. With txt2re, you get to cheat a little.

Screenshot:

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.