passwordHard constant

Pattern const passwordHard

Password (Hard) Regex Allowing all character except 'whitespace' Must contains at least: 1 uppercase letter, 1 lowecase letter, 1 number, & 1 special character (symbol) Minimum character: 8

Implementation

static const Pattern passwordHard =
    r'^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\W_])\S{8,}$';