Click here to Skip to main content
15,918,243 members
Articles / Programming Languages / C#

C# Regular Expression Helper

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
17 Feb 2010CPOL 19.1K   22  
A tool to make it easier to learn C# regular expressions...

One component of an application I’m writing uses a lot of regular expressions. To be sure I was using the right regular expressions, I’ve created this simple tiny tool to help me learn and verify regular expressions against my input data. Nothing fancy, but it might help someone out there.

For example, it took me a little while trying to find the proper regular expression to match all comments (including those that are not closed) in an XML file.

C# Regular Expression Helper

You can find the source code on my GitHub page. I recommend using this tool with this cheat sheet. It’ll definitely speed up the learning process.

Posted in .NET Tagged: C, csharp, match, Regex, regular expression, XML comment

This article was originally posted at


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Software Developer
United States United States

Comments and Discussions

-- There are no messages in this forum --