regexUsername constant

String const regexUsername

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

Implementation

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