Chapter 41. System.Text.RegularExpressions
System.Text.RegularExpressions
implements
an object-oriented system for encapsulating regular expressions. The
classes allow you to compile expressions and store matches that can
be used with any .NET implementation regardless of the programming
language. This namespace supports a regular expression syntax similar
to Perl 5. Matches to the regular expression from an input string can
be retrieved in fine granularity, allowing you to discern substring
captures, groups, and multiple matches. Figure 41-1
shows the classes in this namespace.
Get C# in a Nutshell, Second Edition 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.