title: Regex breakdown
body: <p>Can someone help me with this regex password validation for rails?</p>
  
  <p>It currently is set to ensure:</p>
  
  <ul>
  <li>Password should contain at least one integer.</li>
  <li>Password should contain at least one alphabet(either in lowercase or uppercase).</li>
  <li>Password can
  have special characters from 20 to 7E
  ascii values.</li>
  <li>Password should be
  minimum of 8 and maximum of 40
  characters long.</li>
  </ul>
  
  <p><strong>How can I remove the one single decimal digit rule?</strong></p>
  
  <p><code>/^(?=.*\d)(?=.*([a-z]|[A-Z]))([\x20-\x7E]){8,40}$/</code></p>