Username : at least 5 letters and all lowercase letters Password : is a combination of 2-digit numbers followed by the symbol "@" or the symbol "&" and followed by 4 uppercase letters
Example : Username : meatball / jungernaut Password : 21@YOUR / 74&GOOD
IAM TRY
var slt = "gordonbam"
var sltk = "12@BANA"
var username = /[1-5][A-Z]/g;
var password = /[1-2](@|&)\w[1-4][A-Z]/g;
var result1 = slt.match(username);
var result2 = sltk.match(password);
console.log(result1);
console.log(result2);