So I'm trying to use two validations in my program:
5 integers for the first Validation and
the second is 32 characters only including : and |.
The first validation is for a Zip Code and the second is for a Bar Code.
I'm just clueless on how to perform these validations.
My program is set us so you go and it asks enter Z to enter a Zip Code or B to enter a Bar code. From here I have 2 if statements ( if (choice.equals("Z") then perform the Zip Code Part of the Program and if (choice.equals("B") to go to the Bar Code part of the program.

