Reply to thread

I have never used regular expressions before so please excuse my stupidity.  I just need to check for strings that matches a particular pattern, in this case, a "J" followed by six digits.  ie. "Jxxxxxx"


Here is the psuedo code:


If testString = "Jxxxxxx" Then


do some stuff


End If


 


Can someone show me how to code this in VB2005express?  I searched through the forums but couldnt find any examples.  Thanks...


Back
Top