// Regex pattern for car plates ?***?? // ? is any letter from set [A, B, E, K, M, H, O, P, C, T, Y, X], // * is any digit from 0 to 9. String carPlateRegex = "[ABEKMHOPCTYX]{1}[0-9]{3}[ABEKMHOPCTYX]{2}";