vbnet check if string is only symbols

The solution for “vbnet check if string is only symbols” can be found here. The following code will assist you in solving the problem.

If System.Text.RegularExpressions.Regex.IsMatch(MyString, “^[`[email protected]#$%^&*()_\-+={}[\]|:;””‘<>,.?/]+$”) Then
‘String is only numbers
End If

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts