This pattern can be used to validate a five-digit zip code:

This pattern can be used to validate a five-digit zip code:



Answer: /^\d{5}$/


Learn More :