PHP
·
发表于 5年以前
·
阅读量:7563
//校验规则:
// 必须以字母开头
// 开头的字母不区分大小写
function letterBegin(str){
return /^[A-z]/.test(str);
}