Chapter 8. Regular Expressions

Regular expressions provide an extremely powerful text-processing system that every programmer should at least be familiar with. This chapter is not a full tutorial on regular expression syntax, but if you are new to them, this will get you started with some useful tips.

Search Text

Solution: Using regular expressions gives you the power to find complex patterns in text. .NET’s regular expression classes can be found in the System.Text.RegularExpressions namespace. A text search in its most fundamental ...

Get C# 4.0 How-To 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.