regular expression that verifies a zip code with the optional trailing 4 digits code example Example: zip code regex ^[0-9]{5}(?:-[0-9]{4})?$