title: VIN RegEx Pre 1980
body: <p>I'm trying to use a RegEx that will catch any pre 1980's VIN (Vehicle Identification Numbers).  Anythign pre 1980's will not be required to be 17 digits and can contain 'O's and 'U's.</p>
  
  <p>This site claimed to have a RegEx for it (it also explains the VIN rules): <a href="http://lamptricks.blogspot.com/2012/03/vin-regex-pre-1980-and-new.html" rel="nofollow">http://lamptricks.blogspot.com/2012/03/vin-regex-pre-1980-and-new.html</a></p>
  
  <p>Here's the RegEx: <code>^((([a-h,A-H,j-n,J-N,p-z,P-Z,0-9]{9})([a-h,A-H,j-n,J-N,p,P,r-t,R-T,v-z,V-Z,0-9])([a-h,A-H,j-n,J-N,p-z,P-Z,0-9])(\d{6}))|(([a-h,A-H,j-z,J-Z,0-9]{6,11})(\d{5})))$</code></p>
  
  <p>But the following VIN did not pass the test: <code>BCG23253</code></p>
  
  <p>It ends and 5 digits and is 8 characters long-- which thie RegEx accounts for... Is this VIN just faulty or is the RegEx?</p>