Regular Expression for strong password, with two recurring numerical numbers
<p>Hi I have following regular expression</p>

<pre><code>$str = np00@1;
$special = '!@#$%*-_=+.';

preg_match('/^(?=^.{6,12}$)(?=.*[0-9])(?=.*[a-zA-Z])(?=.*[' . $special . '])(?!.*?(.)\1{1,})^.*$/', $str));
</code></pre>

<p>This expression works on <code>test@123</code>, <code>test#123</code> and so on but not works with <code>np00@1</code>, and on <code>te11@22</code> it not works. </p>
