// Regex pattern to match any Latin letter, // a number, the underscore character _, and the dollar sign $. // The length must be no less than 5 characters and no more than 12 characters. String loginRegex = "s*[a-zA-Z0-9_$]{5,12}s*";