After reading through a few tutorials, I'm convinced I have a mental block when it comes to regexps. All I'm trying to do is find out if a string contains the characters %,$,!,@,<,>
How would I do this? According to some guides I read, special characters in brackets (with the exception of a few) don't need to be escaped. But this doesn't appear to work:
[%$!@<>]
How would I do this? According to some guides I read, special characters in brackets (with the exception of a few) don't need to be escaped. But this doesn't appear to work:
[%$!@<>]