title: Laravel password validation rule with error
body: <p>Validation rule:</p>
  
  <p>The password contains characters from at least three of the following five categories:</p>
  
  <p>English uppercase characters (A – Z)
  English lowercase characters (a – z)
  Base 10 digits (0 – 9)
  Non-alphanumeric (For example: !, $, #, or %)
  Unicode characters</p>
  
  <p>I want to use the validation rule of password like above and my code is like this. But still I can register to my system just by digits only.</p>
  
  <pre><code> 'email' =&gt; ['required', 'string', 'email', 'max:255', 'unique:users'],
              'password' =&gt; ['required', 'min:8', 'regex:/[a-z]/', 'regex:/[A-Z]/', 'regex:/[0-9]/', 'regex:/[@$!%*#?&amp;]/','confirmed'],
  </code></pre>