CS2121 lab exercise 1 - hints

You can use "$" to mean "at the end of the line" e.g.
9$
would match any line ending with a "9", but would not match a "9" anywhere else on the line.