.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Technology News >> New Product Release >> Post New Resource Bookmark and Share   

 Subscribe to Tech News

Regular Expression Tester Extension - Nice tool

Posted By:shankey       Posted Date: July 29, 2011    Points: 25    Category: New Product Release    URL: http://www.dotnetspark.com  
 

Regular Expression Tester

Features

The tool provides the following features:

  • Parsing of your existing regular expressions from code for C# and VB.
  • Parentheses matching.
  • Instant compilation of your regular expressions as you type along with error message feedback.
  • Matches, groups and captures highlighted in color on your input data so you get an easy overview of exactly how your regular expression matches your data.
  • Saving regular expressions for later use.
  • Evaluation is performed in a background thread so it can be aborted if it gets stuck on an inefficient regular expression (try for instance (a|aa)*b on aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)

Quick guide

The tool is available from the right-click menu in the code editor or by shortcut Ctrl R, Ctrl X. You can use it in the following ways:

  1. Open the Regular Expression Tester without selecting any text in the code editor. You will get an empty window, where you can start creating your regular expression with options. When you select "Insert", a statement like new Regex(@"\s*a\s*", RegexOptions.IgnoreCase | RegexOptions.Compiled) is generated.
  2. Select a string containing a regular expression including quotes - e.g. "(a*b)c" - and start the editor. Your expression will be in the regular expression field to test. When you're done, select "Insert" and the string in your code window will be updated.
  3. Select a string containing a regular expression and options - e.g. ("(a*b)c" + "d*[^ef]*" | RegexOptions.Compiled) - and start the editor. Your expression will be in the regular expression field to test and the options will be selected. When you're done select "Insert".

You can save your regular expressions for later use, by clicking "Save" when you're editing a regular expression. All your saved expressions are available from the "Manage Regular Expressions" tab. Double clicking one of them in this view will open it for edit.

 Subscribe to Tech News


Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Technology News Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend