A string cannot include any of these symbols: ^ ~ \ & -- % | “ [ ] : ;
= * ? < #
if (Regex.IsMatch(someString, pattern))
MessageBox.Show("A string cannot include any of these symbols: ^ ~
\ & -- % | “ [ ] : ; = * ? < #")
How to build this pattern?
Please help!
Thank you.