Regular expressions provide a powerful, flexible, and efficient method for processing text. The extensive pattern-matching notation of regular expressions enables you to quickly parse large amounts of text to find specific character patterns; to validate text to ensure that it matches a predefined pattern (such as an e-mail address); to extract, edit, replace, or delete text substrings; and to add the extracted strings to a collection in order to generate a report. For many applications that deal with strings or that parse large blocks of text, regular expressions are an indispensable tool.
In this QuickStart! on Microsoft's .NET Regular Expressions implementation, Mark Long introduces you to the concept and basic usage of Regular Expressions in Microsoft's .NET development environment. Work files are included. To begin learning today, simply click on the movie links.
* VTC QuickStart! and MasterClass! courses are available only to registered Online University members.
Introduction
Welcome
Regular Expressions Basics
What are Regular Expressions?
Basic Example
Where Do I Get Them?
A Little History
.NET Regular Expressions
Basic Regular Expression Syntax
Character Classes
Special Characters
Grouping
Quantifiers
Regex Examples In VB.NET
Regex Example Program
FindFirstLetter
FindUsingAClass
Searching Text Files pt. 1
Searching Text Files pt. 2
Searching Text Files pt. 3
Conclusion
Course Wrap-Up
Credits
About the Author