package com.zy.crm.manager.utils; import java.util.regex.Pattern; public class CarNumberUtils { private static final Pattern LICENSE_PLATE_PATTERN = Pattern.compile("^[\u4e00-\u9fa5]{1}[A-Z]{1}[A-Z_0-9]{5}$"); public static boolean isValidLicensePlate(String licensePlate) { return LICENSE_PLATE_PATTERN.matcher(licensePlate).matches(); } }