title: Regular Expression for a password with at least 8 characters and at least 1 non-alphanumeric character(s)
body: <p>I am trying to make a check in PHP if a user changes their password their new password must be 8 or more characters and with at least 1 non-alphanumeric password. How should I check this and what would the regex be?</p>
  
  <p>Checking the length is the easy part <code>strlen &gt;= 8</code>. My problem is regular expressions. I really have no clue about regular expressions even after years of studying computer science.</p>
  
  <p>Thanks </p>