title: regex to strictly check alphanumeric and special character
body: <p>To check alphanumeric with special characters</p>
  
  <pre><code>var regex = /^[a-zA-Z0-9_$@.]{8,15}$/;
     return regex.test(pass);
  </code></pre>
  
  <p>But, above regex returns <code>true</code> even I pass following combination</p>
  
  <p><code>asghlkyudet</code></p>
  
  <p><code>78346709tr</code></p>
  
  <p><code>jkdg7683786</code></p>
  
  <p>But, I want that, it must have alphanumeric and special character otherwise it must return false for any case. Ex:</p>
  
  <p><code>fg56_fg$</code></p>
  
  <p><code>Sghdfi@90</code></p>