Alright I looked this up, and I cant find a good resource for writing regular resourses in VB.NET, I did find how to write them though, but im not sure what to do... can someone point me in the right direction, or maybe know a resource I could use on writing reg expressions, because I just modified an example and no matter what I do its not working...
Heres what I wrote:
Dim rxpFileFormat As New Regex("(\w+) (\(\w+\))")
stFileFormat = rxpFileFormat.Replace(formFileNew.txtFileFormat, "$2")
formFileNew.txtFileFormat is something like Text (.txt) and I am trying to define stFileFormat as what is between (), so with Text (.txt) it would become .txt.