<Home> Add To: Stumble it! Save To del.icio.us Save To Slashdot Bookmarks Digg It Save to Yahoo! My Web 2.0 Save To FURL Save To Newsvine Save To Reddit Save To Simpy Save To Shadows


This is a tool to parse and analyze the structure of a regular expression. Currently it implements the Java, JavaScript and most of the Perl regular expression grammar. Just type in the regular expression. The parser will parse it on the fly and produce a tree like representation. Easy to understand. Have fun!

Working Area

Please select your environment: Java JavaScript Perl

Please enter your regular expression:

Parse Result:


Please do not include the leading and trailing slash from your expresson. This utility only parses stuff in between /regex/.

This utility will double escape back slash. This is to make it possible to copy regular expression directly from Java source file to the analyzer. For example, "\\s" will be converted to "\s" before sending to the parser.

Send to a Friend

Just send out the following URL

Development Status

Currently, this utility can analyze Java, JavaScript, and Perl style of regular expressions. Analyzing addtional flavors may be added in the future. If you find any bugs, or have any suggestions, please don't hesitate contacting me at sichun.xu At gmail.com. Thanks for using the tool!