public static boolean isValidPostcode(String postcode) {
		if (postcode == null) return false;
		return postcode.matches("[a-zA-Z]{2}\\d{1,2}\\s*\\d{1,2}[a-zA-Z]{2}")
				 && postcode.length() <= 10;
	}