Skip to Content
Microsoft® .NET Kick Start
book

Microsoft® .NET Kick Start

by Hitesh Seth
December 2003
Intermediate to advanced content levelIntermediate to advanced
504 pages
10h 42m
English
Sams
Content preview from Microsoft® .NET Kick Start

Using Regular Expressions

The use of regular expressions has been typically available to Unix shell scripts and Perl programmers. Of course, pattern matching has definitely found more uses beyond shell programming. For instance, heavy-duty text parsing is greatly simplified by using pattern-matching concepts. Whereas third-party libraries and implementations have been available for providing pattern-matching capabilities to mainstream developers, regular expression class libraries have never been “out of the box.” .NET FCL changes the scenario with the inclusion of System.Text.RegularExpressions namespace. For example, Listing 4.12 shows the use of regular expressions to validate phone numbers. Regular expressions are particularly useful for ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek
C# 4.0 Unleashed

C# 4.0 Unleashed

Bart De Smet

Publisher Resources

ISBN: 0672325748Purchase book