Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

regex pattern for car plates

// 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}";
 
PREVIOUS NEXT
Tagged: #regex #pattern #car #plates
ADD COMMENT
Topic
Name
5+7 =