.Net Regex Resources Reference
-
Friday, January 19, 2007 7:51 PMModeratorFor those starting out with Regex'es or even those who are old hands here are some resources to help.
- .NET Framework Developer's Guide
.NET Framework Regular Expressions
- Regular Expression Language Elements
- Character Classes such as. \d \s [ ] defined.
- Quantifiers such as+ * ? { }
- Options such asMultiline Compiled SingleLine
- Expression Classes such as Regex Match MatchCollection GroupCollection
- Regular Expression Examples
- Tutorials
- 30 Minute Regex Tutorial on CodeProject.
- Introduction to Regular Expressions on CodeProject.
- Understanding Basic Regular Expression Syntax (Section 3.10.) in the CodeProject's book chapter previewMicrosoft Visual C# .NET 2003 Developer's Cookbook . Its a preview of Chapter 3: Strings and Regular Expressions.
- Eric Gunnerson's Regex 101 . A listing of differing match topics. Great for a beginner to look at after acquiring the basics of Regex, many examples.
- How to: Search Strings Using Regular Expressions (C# Programming Guide) in MSDN Library.
- Topics
- General
- Regular Expressions and the If Conditional on OmegaCoder's blog.
- Want faster regular expressions? Maybe you should think about that IgnoreCase option...
- (Compilation) For an overview of the three different modes,interpreted, on-the-fly compiled and precompiled see the MSDN article CLR Inside Out , "Base Class Library Performance Tips and Tricks"
- (Compilation To an Assembly) section 3.13. Building a Regular Expression Library in the CodeProject's book chapter preview Microsoft Visual C# .NET 2003 Developer's Cookbook . Its a preview of Chapter 3: Strings and Regular Expressions.
- Regex Hangs My Expression by David Gutierrez in the BCL team blog.
- The RegexOptions.Compiled Flag and Slow Performance on 64-Bit .NET Framework 2.0 BCL Team Blog
- How to use RegexOptions IgnorePatternWhitspace from the Base Class Library (BCL) Team Blog.
- Balanced Groups
- Regex and Balanced Matching by Ryan Byington (MSFT)
- A look into Matching Balanced Constructs with .NET Regular Expressions by Wes Haggard.
- Fun With .NET Regex Balancing Groups
- General
- Programs (Not Sponsored or Endorsed by Microsoft ) Just listed; no order implied .
- Expresso (.Net 2)(Free but registration) Used by most regex'ers; tool updated in 2007 to version 3.
- Regular Expression Designer (.Net 1)
- RegEx Buddy ($)
- Regular Expression Visualizer for VS2005 by Roy Osherove. Write up about it here at Visual Studio Hacks . Its a VS2005 add-in.
- Regulator also by Osherove, which is a stand alone regex tester.
- Web Based Regex Testers
- NRegex Tester
- Regex Testor by RegExLib.com main site has library of regex'es for browsing.
- Regular Expression Tester
- Other Non Regex Tools
- GPLEX Lexical Analyzer for when Regex comes up short and a forum post that gives an example of its usage .
- Forums
- RegexAdvice.com is where the core regexer's, many different languages not just .net, give advice. Let them know you are using the .Net version.
- Google Groups Regex Discussing Regular Expressions in variuos tools (perl, php, egrep, PowerGREP, .NET, procmail etc. etc). Let's help each other build effective regexes!
- Books
- Regular Expressions with .NET (ebook) by Dan Appleman.
- Mastering Regular Expressions, Third Edition by Jeffrey Friedl.
- Sams Teach Yourself Regular Expressions in 10 Minutes by Ben Forta.
- Regular Expression Recipes: A Problem-Solution Approach (ebook) by Nathan Good.
- Blogs
- Flagrant Badassery A JavaScript and regular expression centric blog
- OmegaMan's Musings Regex Section
- Edited by OmegaManMVP, Moderator Friday, April 29, 2011 10:05 PM Removed Broken Links
- .NET Framework Developer's Guide
.NET Framework Regular Expressions
All Replies
-
Wednesday, August 11, 2010 1:23 PMModeratorFeel free to add or report bad links. Simply reply to the post!
William Wegerson (www.OmegaCoder.Com) -
Tuesday, December 07, 2010 6:57 PMModeratorbump
William Wegerson (www.OmegaCoder.Com) -
Wednesday, May 11, 2011 6:36 AM
Hi OmegaMan,
I have some link that help to generate Regx online hope this helps
Regx Generator:
and,,,
Thanks for you Reference Help that help a lot
Thanks,
ksnavinkumar@live.com
-
Thursday, July 14, 2011 2:36 PMModeratorThanks Kumar. :-)
William Wegerson (www.OmegaCoder.Com) -
Monday, December 10, 2012 12:42 PM
Hi,
I've been working on a website about regular expressions that will address many frequently encountered tasks such as parsing numbers, IP addresses etc. The first three articles are done, and now I'm looking for some feedback.
Unfortunately this forum doesn't allow me to post links (yet), so here is the URL in disguise:
http://regex-for.com
Would be great if this was added to the link list.
- Edited by David Scherfgen Saturday, December 15, 2012 11:16 AM

