Exercise S3 - Validate a zip+4 zip code.

The US has a 5 digit zip code with an optional 4 digit suffix. Write a regex to validate that the input is in the proper format:

Sample strings


I'm going to keep comments enabled in case people have questions about the exercise, but please don't post answers in the comments.