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.
This site claimed to have a RegEx for it (it also explains the VIN rules): http://lamptricks.blogspot.com/2012/03/vin-regex-pre-1980-and-new.html
Here's the RegEx: ^((([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})))$
But the following VIN did not pass the test: BCG23253
It ends and 5 digits and is 8 characters long-- which thie RegEx accounts for... Is this VIN just faulty or is the RegEx?