Comment to Zipcode validation
K
How many items has this array? Please provide one example also.
suppose 10 zipcode in an array,that zipcode only to allow
K
Then yes, you may pack them into the following condition for the regular expression:
/(zip1)(zip2)(zip3)/