How to find whether a string contains any of the special characters?

Posted by Manish on Stack Overflow See other posts from Stack Overflow or by Manish
Published on 2010-03-26T11:41:48Z Indexed on 2010/03/26 11:43 UTC
Read the original article Hit count: 342

Filed under:

I want to find whether a string contains any of the special characters like !,@,#,$,%,^,&,*,(,)....etc.

How can I do that without looping thorugh all the characters in the string?

© Stack Overflow or respective owner

Related posts about c#