regexUsername3 constant

String const regexUsername3

must contain letters and numbers and special characters, 6 ~ 18. 必须包含字母和数字和殊字符, 6~18.

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}\$';