Comment to Zipcode validation
i have a array contain some zipcode ,that only allow to zipcode field.how to validate with an array ?
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)/