Regex Editor

Microsoft Free

IntelliSense, syntax coloring, in-place testing and more for your regular expressions, right inside the editor!

Microsoft
(87) Review
Visual Studio
2010
Download (164,003)
2/25/2010
1.5
View
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (87)
Q and A (17)
Sign in to write a review
Sort by:

by Noel99 | January 29 2014

by BonianSazanShomal | June 16 2013

My files Fetch Fast Fact Download in Current System RegEx Regular NOKIA SYMBIAN, but for Open Files goes Deep Dir Doc Dev "Maps Google" net Application and My Google Map Installed phone, unavailable Loading Files download to VisualStudioGallery.com

by Siararadek1 | June 12 2013

by Robert Heinig II | June 07 2013

It's stunning how it uses the US keyboard layout even if that layout is not installed on the system. The programmer has to have gone to quite some wheel reinventing lengths to achieve that. -100 Points.

by Sergio Parra | April 27 2013

very useful

by M. Sawczyn | November 28 2012

Good idea, but I had the same issues as fourpastmidnight - a VS exception was thrown and the IDE did not accept further keyboard input. Needs fixed up, potentially a context menu item added to invoke the tool, some RegEx guidance text in the window and a mechanism to get the text back to the active editor, and it will be a nice addition. Remember the audience: people uncomfortable with regular expressions will be using this, so it should be a helpful novice/intermediate tool rather than aiming for the expert regular expression user.

by nx-at | August 10 2012

Basically a good idea but not really usable.
- Missing RegexOptions
- German keyboard layout not supported
- Bad documented how to open the regex editor
- Not compatible with ReSharper

by rtonsing | June 27 2012

by Mr. Wharty | June 08 2012

Sounds like a great tool however I can;t get it to run

by The Thinker | May 19 2012

by Dragan Radovac | April 11 2012

Yeahy. Nice work !!!

by TheGreatJerboa | March 14 2012

Almost impossible to open it if powertools/resharper installed.

by gligoran | March 04 2012

Doesn't support non-EN keyboards. This was a deal breaker for me.

by Fanged | February 23 2012

Completely screws mouse selections on regex strings.
You CAN NOT use the mouse to select part of the string... VERY annoying.

by Mads Østerby2 | February 08 2012

All in all a useless add-in:

CONs:
* Doesn't work well with non-english keyboard.
* No undo-redo.
* Window is Modal (can't copy paste from code windows for example).
* Doesn't remember "Matches" string (you have to copy paste it in again and again).
* Doesn't play well with ReSharper.
* Causes code editor to become unresponsive.

by SMSIrl | January 29 2012

by mike969 | January 19 2012

This tool doesn't work with a german keyboard. It's not possible to enter {[ ...

by fourpastmidnight | January 13 2012

Very useful extension. However, it needs to be fixed. When working in the editor for an extended period of time, it causes an Exception to be thrown in VS2010 (I have Premium installed, with SP1). You can continue to work, however, upon closing the editor, you can no longer type or navigate in the code editor. Navigation keys (e.g. arrows, etc.) either scroll through the document tabs (I have VSPT installed, so hitting the END key, for example, causes the IDE to activate the last tab in the document tab well), or other pieces of UI (such as focusable toolbar items).

When attempting to exit VS, a warning dialog appears that says "MS VS has detected that an operation is blocking user input. This can be caused by a modal dialog or a task that needs to block user interaction. Would you like to shutdown anyway?"

The only recourse is to save everything and exit and restart VS.

Also, can't use numeric keypad input, only the standard QWERTY keypad input.

by tchien | January 05 2012

How do I get the RegEx Intellisense? All I see is the .Net Intellisense in the code window and no Intellisense in the RegEx editor window.

by Pink Li | December 21 2011

very useful!

But a tiny bug reports here:
sometimes when I finished editing and testing the Regex in the pop up model window, and click "Accept" or "Cancel", then my VS editor area went zombie mode... I cannot type, delete nor copy. And when I try to close VS, a dialog popped up saying "Microsoft Visual Studio cannot shut down because a modal dialog is active. Close the active dialog and try again". The problem is, I was quite sure that I'd closed the regex editor dialog.

1 - 20 of 87 Items   
Sign in to start a discussion


  • VB Editor Support
    2 Posts | Last post June 06, 2013
    • As VB a few syntax's to declare and initialize locals and not sure its handling them correctly,
      
      Typing the following Does not bring up editor
      
      Dim r as regex = new regex(       
      Dim r as new regex(       
      dim r = new regex(
      
      In order to bring up the editor I need to enter the last ( and then delete it and re-enter it.
      
      ie. 
      
      dim r = new regex(<del>(   and then the editor will appear.
      
      Nice if you could fix this one.
      
      
    • same to me VS2010 and it does not open, I guess it conflicts with Productivity Power Tools of MS
  • Can you guys simply add it to the Tools menu ?
    9 Posts | Last post April 05, 2012
    • Regards
      
      Pawel
    • voting for this
    • plus one
    • ii
    •  1
    • A stand alone tool would be much better
    • Yes please..
    • +1. I had to read this whole section to discover how to call this tool.
      And I still cann't call it.
    • 1. +1 please add to tools menu for stand-alone use (nothing seleted).
      2. Should work with any string literal in the editor, not just the Regex class. Think about constants correctly defined in a separate region of the class or shared MyConstants class.
      3. Consider enabling it in settings value editor too; business apps which match certain patterns may have regex's defined in their config files to allow administrator to change it later without need for coding work (flexible).
  • Keyboard Language
    1 Posts | Last post December 09, 2011
    • Nice work, although i do have problems with a portuguese layou keyboard.
      Not sure why, but the textbox for the expression assumes I have an english keyboard (I believe it is because of the intelisense funcionality).
      All other text inputs (Matches, filters) do understand my keyboard perfectly.
      For example, when i press "]" in the Expression, it shows "\"...
  • Visual Studio 2010 Premium and Resharper 5.0
    8 Posts | Last post June 25, 2011
    • Hi,
      I use Visual Studio 2010 Premium and Resharper 5.0.
      I've installed the extension (and verified it was indeed installed).
      However, the extension does not work for me. I tried the following code:
      
      Regex regy = new Regex();
      
      What is the problem?
      Thanks,
      Janiv.
      
    • SAme here with CodeRush.
      
      --
      Paulo Morgado
      http://PauloMorgado.NET/
    • I'm experiencing the same situation, how this editor can be opened/activated?
    • I have same problem here!
    • same to me VS2010 and it does not open, I guess it conflicts with Productivity Power Tools of MS
    • Same Problem..
    • ReSharper (and I assume CodeRush) automatically puts a "();" at the end of the line.
      
      E.G when you type "Regex regy = new ", ReSharper automatically puts the "Regex();" at the end.  What you need to do is backspace to remove the "();" and then add the opening parenthesis. That will cause the editor to launch.
    • The source code is available. It was a relatively minor edit to get it compatible with ReSharper.
  • The Best Way To See Regex Editor
    1 Posts | Last post June 22, 2011
    • 0. Add namespace if is missing: using System.Text.RegularExpressions; 
      
      1. Copy and paste this line to your code: 
      Regex regex = new Regex("D"); 
      2. Press and keep Ctrl key (left or right). 
      3. Then move the mouse cursor on 'D' in expression. 
      4. Then click by left mouse button. 
      5. Regex Editor will appear.
  • Keyboard Layout
    1 Posts | Last post June 03, 2011
    • Hi,
      as Ricardo2F06FA already said, the Regex Editor extension does not support German keyboard layout.
      
      I modified the code and it works now for me.
      As I have not the possibility to test this with other keyboard layouts I really don't know if this works for others too, but it should :-)
      
      Also fixed some small other things that weren't working.
      
      Anyone interested can reply here and I will contact him.
      
      Side note : I use ReSharper 5 and it works.
      
      Regards,
      
      Thomas.
  • German KeyboardLayout Support?
    1 Posts | Last post April 29, 2011
    • Hi,
      
      german keyboard layout is not supported, if i press "*" i get a "+" in the expression field.
      
      CTRL+Click not the best way :-(  "ContextMenu" extention?
  • Regex options
    1 Posts | Last post March 17, 2011
    • Please allow appropriate regex options - particularly RegexOptions.IgnoreCase - otherwise I cannot use it to test real life usage.
  • Conflicts with Pro Power Tools
    2 Posts | Last post December 03, 2010
    • The Pro Power Tools extension uses Ctrl+Click as "Go to definition" shortcut. Therefore when it is installed, it is impossible to show the regex helper window (Ctrl+Click just opens the metadata window for the class String).
      
      As someone else has said, why don't you just put it on the Tools menu, or in the context menu?
    • This conflict is definitely annoying, as is the poor documentation on the Description page.
      
      Disabled until conflict is fixed.
  • Other locations to use window
    3 Posts | Last post October 16, 2010
    • It would be much nicer if I could attach the editor as a tab, dock it to a sidebar, or otherwise control where it moves around. Simply being a floating window isn't really ideal. It would also be nice if when that had been done, if I could select a regex from a dropdown or something and edit that one. 
      
      Having to pull it up off ctrl+click also isn't ideal. As MSX rules mentions, in the very least in conflicts with Pro Power Tools.
    • dito
    • another vote for usability improvements
1 - 10 of 17 Items