https://www.labnol.org/internet/regular-expressions-forms/28380/
[a-zA-Z\d\s\-\,\#\.\+]+
allow only alphanumeric characters, spaces and few other characters like comma, period and hash symbol in the form input field.
^\d{5,6}(?:[-\s]\d{4})?$
the regex allows ZIP codes in standard formats and it matches both US and Indian pincodes.