A Vehicle Identification Number, also known as VIN or Chassis Number, is the vehicle identification number chosen and issued by a manufacturer. It usually contains the make, model, designation of the vehicle, and serial number. The VIN is placed on all motor vehicles and boats and is mostly required for the registration of vehicles in most countries.
A Vehicle Identification (VIN) is 17 characters long, composed of: a 1 to 4 character manufacturer code, a 1 to 5 character country code, a 6- characters vehicle category code, 3 numbers that represent the production year, and 2 check digits at most.
In this article, we’ve shared a regular expression that can be used to check if a given string represents a valid Vehicle Identification Number (VIN). Enjoy.
- Regular Expression To Valid UK Vehicle Registration Numbers
- Chinese Vehicle Registration Number Regular Expressions
- Indian Vehicle Registration Number Regular Expression