function isValid(str){
return /[a-z]{3}[0-9]{3}/i.test(str)
}
3
solved JavaScript String letters and numbers check [closed]
function isValid(str){
return /[a-z]{3}[0-9]{3}/i.test(str)
}
3
solved JavaScript String letters and numbers check [closed]