Regex.IsMatch - receive a parsing error
I receive a parsing error on this line:
If Regex.IsMatch(TextBox1.Text, "[^a-zA-Z\d;.,':-/+ ]") Then
See error below, any advise?
-smc
Here is part of the error:
parsing "[^a-zA-Z\d;.,':-/+ ]" - [x-y] range in reverse order. Parameter name: [^a-zA-Z\d;.,':-/+ ]
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentException: parsing "[^a-zA-Z\d;.,':-/+ ]" - [x-y] range in reverse order. Parameter name: [^a-zA-Z\d;.,':-/+ ]
-smc
|