新增:
-
豫V
-
苏U
-
粤Z
-
陕U
PHP代码:
$str = '粤ZR057澳';
$isMatched = preg_match('/(((^[\x{4eac}\x{6d25}\x{6caa}\x{6e1d}][A-Z])|(^\x{5180}[A-HJRT])|(^\x{664b}[A-FHJ-M])|(^[\x{8499}\x{8d63}][A-HJ-M])|(^[\x{8fbd}\x{7518}][A-HJ-NP])|(^[\x{5409}\x{95fd}][A-HJK])|(^[\x{9ed1}\x{6842}][A-HJ-NPR])|(^\x{82cf}[A-HJ-NU])|(^\x{6d59}[A-HJKL])|(^\x{7696}[A-HJ-NPRS])|(^\x{9c81}[A-HJ-NP-SUVY])|(^\x{8c6b}[A-HJ-NP-SUV])|(^\x{9102}[A-HJ-NP-S])|(^\x{6e58}[A-HJ-NSU])|(^\x{7ca4}[A-HJ-NP-Z])|(^\x{743c}[A-F])|(^\x{5ddd}[A-HJ-MQ-Z])|(^\x{8d35}[A-HJ])|(^\x{4e91}[AC-HJ-NP-S])|(^\x{85cf}[A-G])|(^\x{9655}[A-HJKUV])|(^\x{9752}[A-H])|(^\x{5b81}[A-E])|(^\x{65b0}[A-HJ-NPQR]))((\d{4,5})|([A-HJ-NP-Z]\d{3,4})|([A-HJ-NP-Z]{2}\d{2,3})|(\d[A-HJ-NP-Z]\d{2,3})|(\d{2}[A-HJ-NP-Z]\d{1,2})|(\d{3}[A-HJ-NP-Z]\d{0,1})|(\d{4}[A-HJ-NP-Z])|([A-HJ-NP-Z]\d{3}[A-HJ-NP-Z])|(\d{3}[A-HJ-NP-Z]{2})|([