passwordHard property
Password (Hard) Regex
No whitespace allowed Must contains at least: 1 uppercase letter, 1 lowecase letter, 1 number, & 1 special character (symbol) Minimum characters: 8
Implementation
static String passwordHard =
r'^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\W_])\S{8,}$';