Regular Expressions in .NET
Added 4 Mar 2009
The primary .NET class of interest to us is the Regex class, which is defined in
the System.Text.RegularExpressions namespace. We will use two important
members, IsMatch and Replace. Ismatch returns True if the input string matches the
regular expression pattern. Replace, as its name suggests, replaces the matching
portion of a string with some other string. We will not discuss the regular expression
patterns just yet; that will be more fun once our SQL Server function is running.