Click here to Skip to main content
14,664,021 members
Articles » General Programming » String handling » Regular Expressions
Technical Blog
Posted 17 Feb 2010

Tagged as

Stats

17.1K views
22 bookmarked

C# Regular Expression Helper

Rate this:
5.00 (1 vote)
Please Sign up or sign in to vote.
5.00 (1 vote)
17 Feb 2010CPOL
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 Image 2 Image 3 Image 4 Image 5 Image 6 Image 7

License

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

Share

About the Author

Ali BaderEddin
Software Developer Qualtrics
United States United States
https://about.me/ali.b

Comments and Discussions

 
-- There are no messages in this forum --