Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / C#

C# Regular Expression Helper

5.00/5 (1 vote)
17 Feb 2010CPOL 19.4K  
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

License

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