Skip to content

Instantly share code, notes, and snippets.

View guruskid's full-sized avatar
🐊
Writing Code

Bright Robert guruskid

🐊
Writing Code
View GitHub Profile
@HarishChaudhari
HarishChaudhari / passwordRegex.js
Created August 1, 2016 13:29
Password validation RegEx for JavaScript
/**
* Password validation RegEx for JavaScript
*
* Passwords must be
* - At least 8 characters long, max length anything
* - Include at least 1 lowercase letter
* - 1 capital letter
* - 1 number
* - 1 special character => !@#$%^&*
*