User Group Recap: Regular Expressions

June 14th, 2006

Thanks to Dave Wanta I came away from the meeting last night with a couple of great tools.

The RegexLib.com website allows you to search for various patterns you may need to use such as phone, email or social security number. Not only does it provide you with a few options for each one, but also a rating noting how well the pattern works. As I find myself needing a pattern for a validation expression I will surely head back to this site.

But when this site does not have an example which works for me I can use Expresso which is a powerful tool to build and test regular expressions. And once you are done with the pattern the tool can give you C# or VB.NET code to copy into your application.

Dave also reminded me about the .NET Reflector which every .NET developer should know about. It allows you to decompile assemblies and display the code in any .NET language. For example, I had project written in VB.NET but wanted to know how to do the same thing in C#, so the decompiler was able to show me the syntax from the compiled assembly. I learned about this at Deeper in .NET and have used it a few times so far.

2 Responses to “User Group Recap: Regular Expressions”

  1. Kevin Says:

    Heh, you linking the email RegExp reminds me of the "official" RFC822 regexp that I've seen somewhere before.

    Ever seen it?

    Scroll to the bottom of this page. It is really huge, you can't miss it.

    Actually, I have had that site (http://www.regular-expressions.info) bookmarked for a long time. I've never really had to use it, but from my initial evaluation it seemed a pretty good one. You might want to poke around and see if you find it worth adding that to your toolbox.

  2. AKhani Says:

    Hello, I am a new student in CS. Can u plz give me some good assignments in c or vc #.net. I want to polish my skills. Can u plz plz . My email address is there for u to send me assignments.
    Thank u.