I tried some regex tools like Regulator, Regulazy & RegexBuddy. They don't do what I want and they expect the user to know regular expressions.
Learn, practice, and test regular expressions with this free javascript tool. Regex validity and matches are displayed in real-time as you type. 100% JavaScript.
I want a tool for dummies. You tell the tool I need a regex for something like 'match anything that ends with the word 'yes' and it contains at least one occurrence of the phrase '/test/' and it creates the regex for you.
So I either enter my request in plain English or semi plain English or the tool has all kinds of ready made selections and I choose between them to create what I want ad hoc.
Is there such a tool which is geared towards non developers? I am not looking for a regex tester.
AbduAbdu
13 Answers
I have been a fan of Ultrapico's Expresso application. There is a builder section that helps you (a little) in building fragments of the expression. More importantly it will explain an existing expression (either your own or from the built in expression library) section by section.
It also includes a testing and replacement section to see and test your expressions. Lastly it will generate the expression formatted for either C#, C++, or VB.NET so that you know exactly how to insert the expression into your project.
Best of all it's free. I have been using this tool to help learn how regular expressions actually work, especially the complex ones. Can't say it makes writing expressions idiot proof but it has sure made learning expressions easier for me..
This tool was featured in a MSDN Webcast by Zain Naboulsi, and might be worth a watch. Hope this helps, and good luck with your Regex journey!
DscoducDscoduc
txt2re seems really good. I entered 'This string contains test in it and ends in yes' into the box, clicked on
test
and yes
, andgot a regular expression. It doesn't focus on teaching how to build regexes, but it shows you the perl code to parse what you need.The real power of this tool is its ability to recognize things like dates, URLs, and tags. Whitespace didn't seem to work too well, however, and it doesn't appear to handle any sort of repetition.
Josh LeeJosh Lee
Personally I really like Expresso http://www.ultrapico.com/Expresso.htmThe interface is quite clean - lets you test out search and replace functionality, has good help, plus it generates the C# expressions for you if you like.
paulecoyotepaulecoyote
For me, the best tool is RegexBuilder it's open source and writen in C#, so you can customize it as much as you want ;)
Enjoy. ;)
Lukas Ĺ alkauskasLukas Ĺ alkauskas
For web-based (one line only): http://txt2re.com/
For offline (Full text file is possible): Expresso
signupindiasignupindia
I like my own RegEx Builder best: http://www.linuxintro.org/regex
Thorsten StaerkThorsten Staerk
I am not sure such a tool exists, since they usually do the opposite:
Analyze a regexp and translate it in plain English. Best beat making softwares for mac.
Analyze a regexp and translate it in plain English. Best beat making softwares for mac.
The closest solution to your need would be this C# library, allowing you to program regexp in a semi-readable way:
Instead of this:
You would have, using ReadableRex:
VonCVonC
I was also using Expresso, and found it quite good. The most important thing for me in these tools is validation and not so much visual aids for building expressions. I only need a tool to kind of remind me things, not design them for me.
Anyway, here's another free one, which I quite like. It's called Rad Software Regular Expression Designer. Hope this helps.
SlavoSlavo
numediawebnumediaweb
If you are a mac person, try this widget, althought it's also a tester i find it quite useful as it's really easy to get to it while learning regex online
cybervaldezcybervaldez
I settled on RegexBuddy. It has a debugger, visualizer and translates the regex into plain English.
Tony_HenrichTony_Henrich
Well it's still very much a tool in development, but you could try Textpression at http://www.textpression.com Disclosure: I'm the author.
Textpression enables visual regex creation with a drag and drop editor; no regex syntax to learn! At time of writing Textpression is still in Alpha, but let me know what you think!
user2518314user2518314
Intuitive Regular Expression Analyser and Composer Class (for PHP, Node/JS and Python), regex composer live example here
ps i am the author
Nikos M.Nikos M.