So I am trying to convert this from VB6 into C# but cannot figure out the Regex in C#.
so in C#, what would the regex be?Code:if theData Like "[*]??????????????8" then ...
I tried:
[*]??8
but this returns true even if it does not end in "8"
sure, could use the "string" way (get the last char and see if it is an 8 or use IndexOf) but that is not the best way and rather have Regex only.
Thanks





any chance of a regain? 
Reply With Quote