Tuesday, June 19, 2007

Regex Fundamentals

I went over this site over the weekend to brush up my skills on regular expressions, this is probably the one of the best and only site you'll need, it has basics, quick starts and detailed internal working of the regex engines

For people new to Regular Expressions or regex, it provides a powerful functionality to match patterns in text, it might seem confusing at first but once you get the hang of it its not that hard (but I think the testing data would take some thought!)

as I work on .NET, the framework provides you classes in the namespace System.Text.RegularExpressions

http://www.regular-expressions.info/



I'll try to post some examples later

3 comments:

Anonymous said...

I would like to mention, Regex Workbench,a very interesting and helpful tool for practicing Regex, specially when working on .net platform, its developed by Eric G. and available at GotDotNet , i don't know about its future status as GDN is going to be scraped.

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=C712F2DF-B026-4D58-8961-4EE2729D7322

Danish Shamim said...

I'm using a simple text editor called
EditPad pro available from http://www.editpadpro.com/, it has a free evaluation version but regex features are fully functional.

Another thing you could use is Team Agile's regex kit which integrates directly into visual studio 2005, I havnt tried it my self but you can get it at
http://weblogs.asp.net/rosherove/archive/2005/11/26/AnnoucingRegexKit10.aspx

Anonymous said...

i think you are referring to
http://www.regexbuddy.com/ , Regex Workbench is a similar but open source tool , you can also have the option to compile the regex to assemblies.