usZipCodeValidation: {
    options: { excludeEmptyString: boolean; message: string };
    regex: RegExp;
} = ...

Regex to validate U.S. zip code. Examples: 97209, 97202-2398

Type declaration

  • options: { excludeEmptyString: boolean; message: string }
  • regex: RegExp