I want to select all lines which do not start with the following the format:
[0-9]{3}[a-zA-Z]{3}[0-9]{4}
ex. of valid ID
123-ABC-4567, 15 W. 15th St., 50.1
ex. of invalid ID
Q2Z-457-QWER, 200 East 20th Street, 49
678-FGH-9845 ,,45 5th Ave, 12.2,
I have tried doing something along the lines of :
(?!([\s+]*[0-9]{3}[-][a-zA-Z]{3}[-][0-9]{4}[\s+]*[,][\s+]*[0-9]{2,3}[\s+]*))
However, it seems select other things in addition to the invalid strings