Expression |
^([A-Z]{3,20}\s?[A-Z]{2}[0-9]{1,3}-([A-Z]{3}|[A-Z]{1}[0-9]{2}))|([A-Z]{1,20}\s[A-Z]{1,2}[0-9]{1,4}-[A-Z]{1,3})|([\d,\w,\s]{1,20}\s[A-Z]{3}-[0-9]{1,3})|([A-Z]{1,20}\s?[\d,\w,\s]{1,20})$ |
Description |
Regular expression for vehicle registration number according to these formats:
STATE PRECODENUMBER-LGA for public (commercial and private) (STATEXXX XX999- XXX), for customized: STATE ANYFORMAT (alphanumeric), and government/diplomatic (House of Assembly, Ministries, Commissions,etc) like LAGOS LA123-A03, OHA 67,..... Enjoy! |