Answers for "regex pattern for valid logins"

0

regex pattern for valid logins

// 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*";
Posted by: Guest on April-13-2022

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language