Hi, Im currently trying to set a regular expression in
vb.net to check to see if a particular string contains only keyboard visible characters... I seem to have a problem with my pattern. Can anyone see what my problem is? I have no crashing errors, it runs fine. The problem is, as I pass it a string that should PASS, it does not...
Code:
DIM RegExObject AS NEW RegEx("^([a-zA-Z0-9,\./<>\?;':""[\]\\{}\|`~!@#\$%\^&\*()-_=\+]*)$")
IF (RegExObject.IsMatch(TestString)) = TRUE) THEN
'---code when the test string contains only keyboard visible
'---characters
END IF