This is kind of urgent. I was wondering if someone can help me with a regular expression that checks for:
VIN should have only A-Z, 0-9 characters, but not I, O, or Q
Last 6 characters of VIN should be a number
VIN should be 17 characters long.
I have a text file which contains all the VINs one after the other. So I need to read each VIN from the file
and find out the ones which are not valid.
An actual example is helpful. The script is written in korn shell.