Working with Regular Expressions
Regular expressions give you the ability to manipulate and search strings using a special syntax, and there is a great deal of support for regular expressions in C#. A regular expression can be applied to text, and can search and modify that text. Regular expressions are a language all their own, and it's not the easiest language to work with. Despite that, regular expressions are gaining popularity, and we'll see why as we work with them here.
A full treatment on creating regular expressions is beyond the scope of this book (this topic alone would take a complete chapter), but you can find many useful regular expressions already built into the Regular Expression Editor in the C# IDE. Here are some of the pre-built ...
Get Microsoft® Visual C#® .NET 2003 Kick Start now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.