Mark is a programmer who hates writing regular expressions. So he wrote a kind of visual regular expression generator that starts with the string to be searched, identifies recognizable patterns in it, and lets you select those you want. Then it outputs a working (albeit probably inelegant) regular expression to get the job done. The commentariat over at txt2re.com is somewhat predictably divided between grateful regex amateurs and annoyed experts. [via Boing Boing]
6 thoughts on “Free Web Accessible Visual Regular Expression Generator”
I like the idea. As a casual programmer I often struggle to get a Regex that works right
i have known about this tool for years. What irritates me is he WILL NOT release the source code.
I’ve used them; that particular tool has been around for years. They’re not all that useful. Text matching is either too simple to bother with a generation tool or too complex for the tool to be of any use. Every programmer should learn regex, if for no other reason than being able to more easily perform find & replace operations. It’s not even that hard, if someone teaches you properly. Most tutorials fail miserably at that.
Comments are closed.