function istrue(str){
 var reg=/^(([a-z]+[0-9]+)|([0-9]+[a-z]+))[a-z0-9]*$/i;
 return reg.test(str);
 }

相关文章: