Write egrep commands to operate on an input file and
Leaving off the spaces before and after [A-Z]{2} allows for the lines containing SSN and GBCB to be matched.
Having [A-Z][a-z]* instead of [A-Z][a-z]+ allows the line with "TX, VA, NY" to be matched, which is not City, State.
There needs to be a restriction on what comes after [0-9]{4}, otherwise it allows for 5 numbers in a row.
There are two ways to correctly match the $ character, '\$' or "[\$]". If double quotes are used with \$ then it sees $ as a metacharacter.
There needs to be a restriction on what comes before and after "in" and "off" otherwise lines with the words in and off will be matched.
Technically a line containing nothing means there are no characters on it. Space is a character too. However, most solutions that checked for spaces checked for any number including 0, which allowed for the correct solution.