Regular Expression Evaluator
Regular expressions are a very powerful tool for handling strings. They are widely used by developers in Java, .NET, PHP, etc. If you are new to regular expressions you can learn from several tutorials (e.g. http://java.sun.com/docs/books/tutorial/extra/regex/intro.html , http://www.regular-expressions.info/tutorial.html or http://mindprod.com/jgloss/regex.html ). However, learning is much more efficient with interactive hands-on experience. The excellent tutorial at Sun , provides a simple test harness that allows a reader to try the covered material. However, if you are working with regular expressions on a regular basis you might desire a tool that would accurately and quickly evaluate a variety of complex constructs. Great News: The RegexEvaluator! The utility currently handles the Java flavor of regular expressions. I plan to add other flavors when need arrives (C#, Perl, Python and PHP.) The latest source is available for download here.
I believe that the utility is quite self-explanatory and therefore not much help is provided. Just one minor explanation of the “instant evaluation” mode. When you check the “Instant” check box all of the “Find” push buttons will change to toggle buttons with “Find” button pushed by default. Once enabled, the evaluator listens to any changes in both “Regular Expression” and “Source Text” text areas. It means that when you type or delete a character, the application immediately compiles the regular expression, matches the input and displays results.
The RegexEvaluator applet will appear below in a Java enabled browser.
Java Web Start Version
If you desire faster response or off-line application you can run RegexEvaluator as a java web start application.
An extensive help will be added shortly. The help will provide a comprehensive regular expression syntax with an interactive expression builder.
The C# flavor of regular expressionwill be added.
If you have any suggestions or bug report send them to: firstname.lastname@example.org