How to implement a regex for password validation in Swift?
<p>I want to implement a regex validaton for passwords in Swift? I have tried the following regex, but not successful</p>

<pre><code>([(0-9)(A-Z)(!@#$%ˆ&amp;*+-=&lt;&gt;)]+)([a-z]*){6,15}
</code></pre>

<p>My requirement is as follows: Password must be more than 6 characters, with at least one capital, numeric or special character</p>