Using Regular Expressions

Regular expressions are a major topic in their own right and a full discussion of them is beyond the scope of this book. In this section, we will focus on introducing the major concepts of regular expressions and the use of the Regex class and associated classes in the .NET Compact Framework. The reader is referred to Mastering Regular Expressions, Second Edition (by Jeffrey Friedl, ISBN 05960002890, published by O’Reilly & Associates, 2002) for a full discussion of regular expressions. The Regex class and supporting classes are defined in the System.Text.RegularExpressions namespace.


The .NET Compact Framework requires that you add a reference to System.Text.RegularExpressions.dll in your project in addition to the ...

Get Microsoft® .NET Compact Framework (Core Reference) now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.