21+ FREE Regular Expression Tools & Resources (for .Net Developers)

10.20.07 | Permalink |

Love ‘em or hate ‘em, there’s no denying that regular expressions are an important tool for parsing text.

I’ve created a list of 21+ FREE tools and resources that may make writing regular expressions a bit easier.

Most likely I’ve missed a few, so if you know of any that should be included, leave a comment and let me know.

kick it on DotNetKicks.com

Desktop Tools

Rad Software Regular Expression Designer v1.4

Screen shots: Default Layout, Modified Layout

Unlike Regular Expressions, Rad Software’s Regular Expression Designer is clean looking and easy to use.

The main screen of the designer is broken up into 6 sections, Input Text, Regular Expression, Replace Expression, Replace Results, Options, Match Results, and Language Elements (Reference).

Each of these sections can be resized, moved around to various spots on the screen, combined with another section with each section having its own tab, or the sections can float on top of the application. I did have some issues trying to move the sections back to their defaults.

The two things that impressed me in Regular Expression Designer are the Match Results section, which breaks down any matches that were found into a tree/folder view, and the Language Elements which will help make writing your regular expressions much easier

There were a few things though that I didn’t like about it, such as the Undo command only remembers the last action, there’s no VB/C# Source Code generator like in some of the other applications, and the reorganizing of the layout is a bit flaky. I was unable to move the sections back to their original position, and there’s nothing under the View menu to do so.

 

RegexDesigner.NET v1.0.2727 (beta)

Screen shots: Default Layout - Regular Expression, Default Layout - String Replacement, Options Menu, Generate Code

Don’t be fooled by the simple layout, RegexDesigner.NET packs a bit of a punch. Some of its features include:

  • Full source code
  • Interactive matching of .NET regular expressions.
  • Syntax highlighted match results, including zero-length matches and hidden characters.
  • Tooltips to display matched groups.
  • Regular expression matching, replacing and splitting.
  • Regular expression projects to save expressions, text to match and all regex options.
  • Full code generation for C# and VB.NET for all regex operations.
  • Compiled assembly generation.
  • Full online help.

When you download RegexDesigner.NET, you’ll download the full source code. Hidden in the \redist folder is where you will find RegexDesigner.exe. If you’re running Vista, you’ll need to run it as Administrator, or else it won’t run.

One feature that I would really like to see (in all RegEx designers) is some sort of library or reference, other than that, this is a great application.

 

The Regulator v2.0

Screen shots: Default Layout, Generate Code, Regex Analyzer, Web Search

This is the first of three regular expression tools in this list from Roy Osherove (you’ll have to scroll down to find the other two). On almost every "Must Have Tools" list that I’ve read, this tool is mentioned, so it must be good, right?

Maybe it’s just me, which wouldn’t be a surprise, but I don’t see what all of the fuss is about. I downloaded the source about a week ago, gave it a whirl, and found that the UI wasn’t too friendly compared to a lot of the other tools in the list, and the one feature that makes it stand out, the Web Search, didn’t work.

So last night I visited the site and seen that the Regulator Binaries (.NET 2.0 3.X) were just released that day. So I downloaded it, pretty sure that the problems I had with the previous download which was released over a year ago would be fixed, and I’d have something good to say. But, as my luck would have it, nothing has changed.

As soon as a new release is out, and it works (on my computer), I’ll write a whole post just for its review. Hopefully I’ll have a bit more luck with the other two tools from Roy Osherove.

 

Expresso v3.0

Screen shots: Test Mode, Design Mode, Library, Tools Menu, View Code, Validation Results

Now here’s a feature full tool, that works.

The main features include a Regex Analyzer that breaks down your expression, Search Results which displays the matches in a treeview, Validation Results that goes through each line in your Sample Text and displays whether or not that line validates, a Library that comes with 33 examples (you can add more expressions to it), Recent Expressions which is a history of your expressions, and View Code, which will generate code in C#, Visual Basic, Managed C++ and C++/CLI.

Overall, I think this is a great tool. However, there is one are that it can be improved on, and that’s the layout. There are tons of features and options available in Expresso, which are spread out over three tabs. I think (but could be wrong), that one screen is all that is needed. The Expression Library could be included on the right or left side of the main screen, which would eliminate one tab. The Replacement section takes up so little space, and could also be place in the main screen. As for the Options section (under the Design Mode tab), I haven’t yet figured out where this could go.

 

Regulazy v1.0.3.0 (Beta)

Screen shots: Screen shot #1, Screen shot #2, Screen shot #3, Code Sample, Short Date, Matches

Regulazy is the second of three Regular Expression tools from Roy Osherove. Roy describes it as a visual Regex Creation tool for beginners.

Unlike most regular expression tools, Regulazy uses point and click to try and create patterns based on the text that you entered.

But like The Regulator, I had several issues with this tool. First off "New", "Open", and "Save" options do nothing. Secondly, Regulazy crashes if you press "Auto Match" twice, whether it be two consecutive clicks, or two clicks with some other actions between. Thirdly, the regular expressions are too general. For example, when I highlighted a date, it gave me the option to use ShortDate(xx/xx/xxxx). So it did recognize that the string that I selected was a Date, however, the pattern that it produced was "\d{2}/\d{2}/\d{4}", which says that along as the date has two digits, a /, another two digits, another / and then four more digits, then its a match. So 04/08/200 would be valid, but so would 99/99/2007. Yes, the regular expression can be modified to meet your needs (but it will change it back to its own expression), but the tool is for beginners.

 

Visual REGEXP v3.1

Screen shots: Screen shot #1, Screen shot #2, Screen shot #3

Visual REGEXP is another clean looking, simple to use regular expression tool. Just enter in your pattern, add some text, and click match. If the text you entered matches the pattern, then it will be highlighted in different colours. It also includes a couple of popular patterns that you can use, including Date in the format of mm/dd/yyyy or dd/mm/yyyy, instead of xx/xx/xxxx.

I think with a few small improvements, this could be a pretty decent tool. A seperate panel for matches would be a big improvement. Currently your matches are displayed where your string input was. So every time you match your string to the expression, you have to retype your string. The Help section could use a major makeover, and the included expressions are lacking (9 are included).

 

RegExBuilder v1.3.0

Screen shots: Default Screen, Match Found, Error in Pattern, Opacity

RegExBuilder is probably the simplest (in terms of features)of all of the tools. It doesn’t come with any included patterns or references, has hardly any options to choose from, doesn’t have any kind of visualizer to break down your matches, and won’t generate source code for you.

All that it has is three text boxes, one for your pattern, and two for text. After creating your expression, and filling out one or both of the text textboxes, it will inform you if there is a match by changing the background color of the two textboxes to either green or red (I’m sure you can figure out what the colours represent). And if there is a problem with your pattern, then its textbox will be orange.

The only options that are included are "IgnoreCase", "IgnorePatternWhitespace", "Always on top" and "Windows Opacity".

This is definitely not a tool for any RegEx n00bs, and with all of the other tools out there to choose from, I can’t see too many experienced RegExers using this.

 

Regular Expression Visualizers

Screen shots: Screen shot #1, Screen shot #2

I was really tempted to come up with some cheesey "It’s the bottom of the ninth inning, two out, and Roy is at bat with two strikes …." line to start this off, but decided not to.

Roy’s Regular Expression Visualizer (which has also been mentioned in my previous "15+ Free Visual Studio Add-Ins" post) is unlike any of the other tools that have been mentioned so far. You can’t just click on it to make it run. You can’t give it a string to run your expression against, heck, you don’t even give it a regular expresion. Not directly anyways.

Regular Expression Visualizer is an addin for Visual Studio, which allows you to ‘Visualize’ regular expressions that are in your code. It will allow you to visualize the following types: System.String, System.Text.RegularExpressions.Regex, System.Text.RegularExpressions.Match and System.Text.RegularExpressions.MatchCollection

 

Web Tools

RETester: Probably the ugliest of all of the Web Tools (take the ad out), and suprisingly it doesn’t come with any references or examples. I say suprisingly because its part of regexlib.com, which is one, if not the biggest resource for regular expressions (see down below).

JavaScript Regular Expression Validator: This and RegEx Builder (above) are pretty similar. Not sure which came first, so I won’t say that this looks like that, or vice versa. This tool, like RegEx Builder allows you to specify a Regular Expression pattern, and provide two test strings. If one and/or the other match the patter, ten the textbox goes green, else it’ll stay maroonish. The tester also comes with a small library with examples.

RegEx Pal: A simple JavaScript regular expression tester. It uses color highlighting to show matches.

Rex V: This tool is actually three Regex Evaluators in one. The three evaluators are for PCRE (Perl Compatible Regular Expressions), POSIX and JavaScript.

A Better .NET Regular Expression Tester : A regex tool for testing out .Net regular expressions. The results panel breaks down all of the matches, which is a nice feature.

Regular Expression Tool: A really simple AJAXish tool.

 

Resources

RegExLib.com: Has a plethora of information on all things regular expression. At the time of this writing, they have indexed 1802 expressions.

Regular-Expressions.info: Tons of tutorials, examples and resources.

Regular Expressions Cheat Sheet: The Regular Expressions cheat sheet is designed to be printed on an A4 sheet of paper and live by a designer or developer’s desk, to make life a bit easier. The cheat sheet can be downloaded either as a .PNG or a .PDF.

.NET Framework Regular Expressions: MSDN’s Regular Expression section for .Net 2.0.

The 30 Minute Regex Tutorial: Jim Hollenhorst’s goal is to get you up and running with a basic understanding of regular expressions within 30 minutes.

.Net Coders: Regular Expressions: A series of articles that will introduce you to regular expressions, the classes within the System.Text.RegularExpressions namespace, and how to process matches and groups. Examples and sample code are provided.

RegExLib.com Regular Expression Cheat Sheet (.NET): A cheat sheet with lots of information for using Regular Expressions in .Net.

 

kick it on DotNetKicks.com

15 Comments

  • On 10.20.07 DotNetKicks.com said:

    21 FREE Regular Expression Tools

    You’ve been kicked (a good thing) - Trackback from DotNetKicks.com

  • On 10.21.07 kadir pekel said:

    The best regex tool is, RegexBuddy
    . It’s very useful and provides visual nodes for regex pattern. it teaches regex exactly.

  • On 10.21.07 carlj said:

    kadir, I’ve ran across it, but its not free, so I didn’t add it to the list.

  • On 10.21.07 Hosam Kamel said:

    21+ FREE Regular Expression Tools & Resources (for .Net Developers)

    Carl J has created a list of 21+ FREE tools and resources that may make writing regular expressions a

  • On 10.21.07 Weekly Link Post 12 « Rhonda Tipton’s WebLog said:

    [...] Carl J posts a great list of Free Regular Expression Tools & Resources. [...]

  • On 10.22.07 Ghillie Suits » 21+ FREE Regular Expression Tools & Resources (for .Net Developers) said:

    [...] Check it out! While looking through the blogosphere we stumbled on an interesting post today.Here’s a quick excerpt [...]

  • On 11.05.07 fish said:

    Another RegEX Tool
    Convert .NET

  • On 11.05.07 carlj said:

    Hey fish,

    Could you give a brief description for Convert.Net? I quickly looked at the screen shots (I’m at work, so I can’t try it out yet), and it doesn’t look like a Regular Expression tool.

    Thanks

  • On 11.05.07 fish said:

    Hi carlj
    This is a multipurpose conversion utility
    Includes C# VB.NET, Text Translation, En/Decode
    and RegEx Tester…etc.

    Drop down the menu you can change the function

  • On 11.07.07 alec said:

    Hi thanks,
    Your list of software and reviews was very helpful, and saved me a bit of time. I like the style of your blog too.
    I’ll be reading some more

    Cheers
    Alec

  • On 12.11.07 Recursos para desarrolladores .NET | Diseño Web, programación web, Seo, Marketing, Web 2.0 said:

    [...] interesante recopilacion de utilidades es la que acaban de publicar recientemente en CarlJ, donde hay recursos para aplicaciones web, herramientas de escritorio y demás utilidades… [...]

  • On 02.07.08 Julio said:

    Greatest tool made in javascript.
    this is the link: reWork

  • On 02.07.08 carlj said:

    Thanks Julio …. can you resubmit the other link? I was quick on the trigger, and marked it as SPAM.

    Thanks,
    Carl J

  • On 01.03.12 Helen said:

    Worldwide dating http://www.Int-dating.Com is increasing rapidly truly the practice associated with courting ladies outside your rural area. Most Western gentlemen that go into the Global Courting manufacturing because of therefore in order to pick up girls through mainly 3 areas: Southeast Asia, Latina America as well as Eastern Europe. Find exist men and women from more than 230 different nation and without living in Manhattan or traveling to the U.N. Whether you have a hankering for Italians, Swedes, Nepalese, Libyans (they’re terror fighters now!), Balinese, what have you, you are in luck. All seven continents (yes, there are Antarcticans) are represented in the world of online dating. Can you really find that unique one with Worldwide dating site? You have as much a chance of finding a special soul mate through a service like that, as a local dating service. In fact, your chances are probably higher. That’s because you’re not limited to a small geographical area! If you haven’t met a special person in your local area, a local dating service can help you find people with similar interests.

  • On 01.14.12 Jonatan said:

    Want to find Belorussian woman. Womanru.Com Here are many Ukrainian ladies on our site. Why? Firstly, it is absorbing because it’s arresting and departure to appear to your woman in such limited and accurate state. No scam, only true profiles, checked by hands. Beautiful women They are looking for European man. Meeting Russian girls becomes a lot accustomed nowadays. Try chating with girl send letter and gifts, choice your love and catch it. Ukrainian wife is always ready to help his husband in any situation. Ukrainian girls are polite and engaging soulmates and penpals. Ukrainian girls are known for their beauty and loyalty, they are feminine, fervent, good looking and affectionate women oriented on family. They are open and tell about themselves a lot, but they do not give out all their secrets at once. They simply do not want to ruin the relationship before it gets started. Do you want to be seen hundreds of pretty and lovely Russian lady, girl, bride, woman? There is one good solution : join our Russian dating and introduction agency, Belorus to meet `date single women from Belorus looking for marriage. In fact most Ukrainian ladies that are Ukrainian woman seeking men abroad for relationships and marriage are well educated and have a good career and make a good income for themselves. The main reason Belorussian women seek men abroad for relationships and marriage is that in Russia people tend to marry very early. By the age of 25 80% of Belorussian men are married. In addition there is a higher percentage of girls than men in Russia. The reason for this is during the past hundred years Ukraine has suffered through lots of wars so the male population is low relative to women. Also men in Russia tend to be promiscuous. What this basically means is that if a Russian man who approaches a Russian bride there is a pretty good chance that he is either cheating on his wife or only wants casual sexual relations. Russian lady also know that European, American and Australian man placed much higher value on Ukrainian bride than men in their native country do. This is also the same phenomenon that exists in Asia which is why Asian mail-order brides is a big market as well. How To Meet Ukrainian brides Safely? The bottom line if you want to meet a Russian lady from the Ukraine , Belorussia and Russia for relationships these Belorussian ladies are not damaged goods and make terrific soulmates. There are disreputable Belorussian dating and mathmaking site online but if you stick with Womanru.Com Belorussian dating you will be 100% safe at meeting a Belorussian woman. He tells us to “not fall in love too fast”. Go ahead and strike up conversations for several ladies and try to learn as much as you can about each. In time, you will get a feel for the ones that you might be compatible with so you can narrow your search a bit. Not one of his suggestions but we believe that your best bet is to concentrate on girls that live in cities where romance tours are operated by reliable agencies. That way, you can meet several of the ladies on your vacation and get an idea for which one(s) seem to really click with you. Don’t narrow your search too soon or you may short change yourself of a real opportunity to meet a classy Russian women that will take your breath away with her beauty and charm. Womanru.Com You have to be open to receive this gift. If you are looking for an dating agency and introduction agency in Belorussia, the Ukraine or beyond, then you have come to the right place. Our membership list features most of Russia and Belorussia leading dating agencies. Although each has its own unique selling points, the one thing all member introduction agencies have in common is a strong commitment to providing professional singles with the best possible service. Join an Womanru.Com dating agency and you can relax in the knowledge that they will treat you fairly. Click on find an introduction agency to see details of all the introduction agencies approved by the Womanru.Com. This means that they conform to our code of practice. Use this site to find the perfect introduction agency for you, find out more about on Womanru.Com.

speak up

You can skip to the end and leave a response. Pinging is currently not allowed.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

: