I need to come up with a regular expression that validates a string with the following requirements:
- Only contains alphanumeric and the following special characters: !@#$%^&*
- Contains at least 1 of the special characters in the list above
- The required special character can appear anywhere in the string (for example: !abc, a!bc, abc!)
I keep getting close, but fail on one of the conditions.
Thanks!
'; DROP DATABASE master;, which could take down your whole database instance.