Test, validate and match regular expressions
Validates a 17-character Vehicle Identification Number (VIN). It enforces standard VIN rules: only uppercase letters and digits are permitted, with the easily-confused letters I, O, and Q excluded via the A-HJ-NPR-Z character class. The 9th position is restricted to a digit or X, matching the VIN check digit convention. Ideal for validating automotive forms, processing vehicle records, or extracting VINs from multiline text using the gm flags.