title: How to check if a string contains a special character (!@#$%^&*()_+)
body: <p>I was wondering what would be the best way to check if a string as </p>
  
  <pre><code>$str 
  </code></pre>
  
  <p>contains any of the following characters</p>
  
  <pre><code>!@#$%^&amp;*()_+
  </code></pre>
  
  <p>I thought of using ASCII values but was a little confused on exactly how that would be implemented.</p>
  
  <p>Or if there is a simpler way to just check the string against the values.</p>