Advertisement
krot

vin validator

Feb 19th, 2019
347
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 1 0
  1. /^(?<wmi>[A-HJ-NPR-Z\d]{3})(?<vds>[A-HJ-NPR-Z\d]{5})(?<check>[\dX])(?<vis>(?<year>[A-HJ-NPR-Z\d])(?<plant>[A-HJ-NPR-Z\d])(?<seq>[A-HJ-NPR-Z\d]{6}))$/
  2. Capture group name key:
  3.  
  4. wmi - World manufacturer identifier
  5. vds - Vehicle descriptor section
  6. check - Check digit
  7. vis - Vehicle identifier section
  8. year - Model year
  9. plant - Plant code
  10. seq - Production sequence number
  11. https://www.ecfr.gov/cgi-bin/text-idx?SID=e9e04d1dbab6285f7e27151cad41ed25&mc=true&node=pt49.6.565&rgn=div5#sp49.6.565.b
  12. WMI.. VDS........ VIS............
  13. WMI = World Manufacture Index
  14. VDS = Vehicle Descriptor Section
  15. VIS = Vehicle Identifier Section
  16. 1 - Manufacturing Country
  17. W - Germany
  18. 1 - USA
  19. 3 - Mexico
  20. 9 - Brazil
  21. 2 - Manufacturer
  22. B - VW of Brazil
  23. V - Volkswagen
  24. 3 - Vehicle Type
  25. 1 - Pickup
  26. 2 - MPV (Multi Purpose Vehicle)
  27. W - Passenger Car
  28. 4 - Series
  29. 1987 - 93 Fox
  30. A - 2 Door Basic
  31. B - 2 Door Economy
  32. C - 2 Door Custom
  33. D - 2 Door Wagon
  34. G - 4 Door Custom
  35. 1985-95 Golf
  36. B - 2 Door Custom
  37. D - 2 Door Sport
  38. D - 2 Door GTi
  39. F - 4 Door Custom
  40. H - 2 Door GTi 16V
  41. K - 4 Door Golf III
  42. 1985-95 Jetta
  43. K - 2 Door Base
  44. M - 2 Door Custom
  45. P - 4 Door Base
  46. R - 4 Door Custom GL / Caret / Economy
  47. S - 4 Door GLS / CustomT - 4 Door GLI / GLX
  48. 1983-95 Rabbit / Cabriolet
  49. A - 2 Door Base
  50. B - 2 Door Custom (1992-93)
  51. C - 2 Door Custom (1983-91)
  52. D - 2 Door Carat
  53. E - 2 Door Etienne Aigner
  54. 1983-88 Quantum
  55. A - 1983-88 2 Door Basic
  56. B - 1983-88 2 Door Custom
  57. C - 1983-88 2 Door Deluxe
  58. D - 1983-88 2 Door Sport
  59. E - 1983-88 4 Door Basic
  60. F - 1983-88 4 Door Custom
  61. G - 1983-88 4 Door Deluxe 1983-88
  62. Scirocco (USA) 1983-89 Scirocco (Canada)
  63. A - 1983-88 2 Door Basic (USA)
  64. A - 1983-89 2 Door Basic (Canada)
  65. B - 1983-88 2 Door Custom (USA)
  66. B - 1983-88 2 Door Custom (CAnada)
  67. C - 1983-88 2 Door Deluxe (USA)
  68. C - 1983-89 2 Door Deluxe (Canada)
  69. D - 1983-88 2 Door Sport (USA)
  70. D - 1983-89 2 Door Sport (Canada)
  71. B - 1983-88 2 Door Custom (USA)
  72. B - 1983-88 2 Door Custom (Canada) 1990-94
  73. Corrado(USA)
  74. D - 1990-92 2 Door Sport
  75. E - 1992-94 2 Door SLC 1995
  76. Corrado (Canada)
  77. E - 1995 2 Door SLC
  78. 1983--92 Vanagon
  79. X - 1983-88 Kombi
  80. Y - 1983-92 Bus (Vanagon)
  81. Z - 1983-92 Camper
  82. 1992-95 EuroVan
  83. H - EuroVan CL
  84. K - EuroVan GL
  85. 1990-95 Passat
  86. C - 4 Door GLS
  87. D - 4 Door Wagon GLS
  88. E - 4 Door GLXF - 4 Door Wagon GLX
  89. F - 4 Door Custom GL
  90. G - 4 Door Wagon GL
  91. H - 4 Door Base
  92. J - 4 Door Deluxe GLX / GLS
  93. N - 4 Door Wagon Custom GLX
  94. 5 - Engine
  95. Contact Dealer for Detailed Engine Information
  96. 6 - Restraint System
  97. 0 - Active
  98. 2 - Passive w/Man Lap Belt
  99. 4 - "ELRA"
  100. 5 - Active Belts w/Driver Air Bag
  101. 8 - Active Belts w/Dual Air Bags
  102. 9 - Passive
  103. 7-8 Model
  104. 15 - 1983-93 Convertible, Cabriolet
  105. 16 - 1983-88 Jetta
  106. 17 - 1980?-92 Rabbit, Pickup, Golf, GTi
  107. 1C - New Beetle
  108. 1E - 1995 Cabrio
  109. 1G - 1989-92 Golf / Jetta
  110. 1H - 1993-95 Golf / Jetta
  111. 24 - VW Transporter (Pickup and Multivan)
  112. 25 - 1983-92 Vanagon, Transporter Van
  113. 30 - 1987-93 Fox
  114. 31 - 1990-95 Passat
  115. 32 - 1983-88 Quantum 2 Door and 4 Door
  116. 33 - 1985-88 Quantum Station Wagon and Quattro
  117. 3A - 1995 Passat
  118. 43 - Audi 5000 / older
  119. 44 - Audi 5000/100/200/V8
  120. 4A - Audi S4/100CS/V8
  121. 50 - 1990-95 Corrado
  122. 53 - 1983-88 Scirocco
  123. 60 - 1994-95 Corrado
  124. 70 - EuroVan
  125. 78 - Passat?
  126. 81 - Audi 4000
  127. 83 - Audi 4000
  128. 85 - Audi Coupe GT
  129. 89 - Audi 90
  130. 8A - Audi 90
  131. 8B - Audi Coupe
  132. 9 - VIN Check Digit
  133. Manufacturer's Internal Code
  134. 10 - Vehicle Model Year
  135. D - 1983
  136. E - 1984
  137. F - 1985
  138. G - 1986
  139. H - 1987
  140. J - 1988
  141. K - 1989
  142. L - 1990
  143. M - 1991
  144. N - 1992
  145. P - 1993
  146. R - 1994
  147. S - 1995
  148. T - 1996
  149. V - 1997
  150. W - 1998
  151. X - 1999
  152. Y - 2000
  153. 1 - 2001
  154. 2 - 2002
  155. 11 - Assembly Plant
  156. A - Ingolstadt
  157. B - Brussels
  158. E - Emden
  159. G - Graz
  160. H - Hanover
  161. K - Osnabruck
  162. M - Mexico
  163. N - Neckarsulm
  164. P - Brazil
  165. S - Stuttgart
  166. V - Westmoreland, PA, USA
  167. W - Wolfsburg
  168. Y - Spain (SEAT)
  169. 12 - 17 Serial Number
  170. Sequential Production Number
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement