Is there a way to convert some code like this:
If someString <> \"02\" And someString <> \"03\" And someString <> \"06\" And someString <>
How about this?
Imports System.Text.RegularExpressions btnButton.Enabled = Regex.IsMatch(someString, "^0[2367]$")