change .Net pattern \G^(?!.*([[\!@#$%^&*()\\[\]{}\-_+=~`|;<>,./?a-z0-9A-Z])\1{2,})(?=.*[a-z])(?=(.*[A-Z]))(?=.*[\!@#$%^&*()\\[\]{}\-_+=~`|;<>,./?0-9])\S{8,15}$ to Javascript
/^(?!.*([[\!@#$%^&*()\[\]{}\-_+=~|;,./?a-z0-9A-Z])\1{2,})(?=.*[a-z])(?=.*[A-Z])(?=.*[\!@#$%^&*()\[\]{}\-_+=~|;,./?0-9])\S{8,15}$/
|;,./?a-z0-9A-Z])\1{2,})(?=.*[a-z])(?=.*[A-Z])(?=.*[\!@#$%^&*()\[\]{}\-_+=~
Was this helpful?
Help @wordpree spread the word by sharing this article on Twitter...