Gregorio,
You need to add the reference to the namespace
VB.NET
Imports System.Text.RegularExpressions
C#
using System.Text.RegularExpressions;
You can find the namespace for a class by going to the index of the online help and search for the class name. The select the "about
". When the help page is shown, go to the bottom and look for the information about where the namespace is. Here is the link for the Regex class:
ms-help://MS.VSCC/MS.MSDNVS/cpref/html/frlrfSystemTextRegularExpressionsRegexClassTopic.htm
>Cathy:
>
>I in you example you use regex.replace(...) I check my .net class and I did not have the system.text..... framework. Where I can get this class in order to implement my formatting? I believe I install the enterprise version and have all the classes but this one is not in my list also not in the add referece selection. I try to update from internet but it said that I have all the updated required.
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi