regexUsername3 constant

String const regexUsername3

Username regex, must contain letters, numbers, and special characters, 6-18 characters.

Implementation

static const String regexUsername3 =
    '^(?![0-9]+\$)(?![a-zA-Z]+\$)(?![0-9a-zA-Z]+\$)(?![0-9\\W]+\$)(?![a-zA-Z\\W]+\$)[0-9A-Za-z\\W]{6,18}\$';