In vb.net, I am not sure what reference to add for using regular expressions... as of know when I try to create a new instance.....
Dim myReg as New ...? (I try RegEx but it doesnt show up)
Not sure how to do this.
Printable View
In vb.net, I am not sure what reference to add for using regular expressions... as of know when I try to create a new instance.....
Dim myReg as New ...? (I try RegEx but it doesnt show up)
Not sure how to do this.
you just need to qualify the namespace
Dim myReg as System.Text.RegularExpressions.Regex
or you can put at the top of your code (above the class declaration)
imports System.Text.RegularExpressions
and then in your code you can do
Dim myReg as Regex
Cool.. now I am trying to pass options such as IgnoreCase.. but this is different from the older control... Whats the correct way to do this?
Thanks again.
nm i figured that part out...
except they dont have the Global parameter anymore... idk what repalced that.
what exactly are you trying to do? please be more specific of the task