This type of restriction is not a part of the zip code validation. However you could make use of the regular expression validations to accomplish this. To get some more info about using the regular expression validation please check the help documentation, there are some examples of how to craft the expressions.
The idea is that you would use an expression that would match the pattern that you are allowing or denying and use that validation to trigger a message to the user letting them know what the problem is.