0

php 车牌号正则表达式怎样匹配?

ida created at6 years ago view count: 2484
report
回复
0
$re="/^\p{Han}{1}[A-Z]{1}[A-Z_0-9]{5}$/u";
if (!preg_match($re, "浙G123QW")) {
    echo "不匹配";
}
6 years ago 回复

Recent search keywords