Shipping zone by postal code

Hi there
Is there a way to set up a shipping zone that is determined according to a postal code? For example, for shipping we want something like this: 2260-2262 are $5, others starting with 2xxx are $10 and those starting with anything else are $15