I need to convert a VB6 project (which I don't know) to C # 4.0. The project contains several regular expressions to check the string.
I need to know if the regular expressions will be the same in both cases, so if I just copy the regular expression string from the VB6 project to the C # project, will they work the same?
I have a basic knowledge of regular expressions, and I can just read what he does, but for fragrances and the like, which are a little on my head at the moment.
For example, are these 2 lines equivalent?
VB6:
isStringValid = (str Like "*[!0-9A-Z]*")
WITH#:
isStringValid = Regex.IsMatch(str, "*[!0-9A-Z]*");
Thanks!
source share