Title: specific, Range or wildcard
Last modified: April 14, 2020

---

# specific, Range or wildcard

 *  Resolved [hairyhobo](https://wordpress.org/support/users/hairyhobo/)
 * (@hairyhobo)
 * [6 years ago](https://wordpress.org/support/topic/specific-range-or-wildcard/)
 * Hello
 * I’ve setup shipping for specific postcodes in birmingham.
    I did this the wildcard
   way… B1* B2*, up to B30*, however people with B75 or B31 could place an order.
 * I’ve now changed it to the range method… B1…B30, which seems to work (on a test
   site), but i’ve just read a post (on here) saying that Range is only for numbers
   and not for UK postcodes.
 * What should i do? if you do it the Specific way, do you put them on separate 
   lines, put commas in??
 * any pointers would be great
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fspecific-range-or-wildcard%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [hairyhobo](https://wordpress.org/support/users/hairyhobo/)
 * (@hairyhobo)
 * [6 years ago](https://wordpress.org/support/topic/specific-range-or-wildcard/#post-12673957)
 * Just to add…
 * Zone name is Birmingham
    Zone Region is United Kingdom
 *  [Nicola Mustone](https://wordpress.org/support/users/nicolamustone/)
 * (@nicolamustone)
 * Automattic Happiness Engineer
 * [6 years ago](https://wordpress.org/support/topic/specific-range-or-wildcard/#post-12676310)
 * Hello there,
    You should put each zip code on a different line, so it would be
 *     ```
       B1*
       B2*
       etc.
       ```
   
 * Please, change the configuration like this and let us know if it works then!
 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [6 years ago](https://wordpress.org/support/topic/specific-range-or-wildcard/#post-12676332)
 * Hi there,
 * It sounds like we’re missing some background information here – please share 
   the following:
    - A screenshot of your shipping zone setup at the moment
    - The range of postcodes you’re looking to filter ideally
 * Once we have that in hand, we’ll be in a much better position to say what’s possible
   🙂
 * Thanks!
 *  Thread Starter [hairyhobo](https://wordpress.org/support/users/hairyhobo/)
 * (@hairyhobo)
 * [6 years ago](https://wordpress.org/support/topic/specific-range-or-wildcard/#post-12676422)
 * Hi
 * I can post a screen shot, but all the info is in my posts…
 * The zone name is birmingham
    The region is United Kingdom
 * I had listed them out B1* (new line) B2*… but this didn’t work, and am I right
   in thinking this is the wildcard method? So it seems to allow any other postcode
   with a 1 or 2 in it to be accepted, is that correct?
 * As mentioned, i have listed it the range method…
    B1…B30 Which seems to be working,
   but i just wanted to check if this is correct due a conflicting post i read on
   here, stating this was for non uk postcodes only.
 * Also i have seen a method similar to the wildcard…
    B1 * (adding in a space before
   the star) B2 *
 * This seems to work as well, but as i cant see this on the woo info, then im not
   really sure??
 * Listing them the specific way, as per woo info>>
    B1 B2 Didn’t work.
 *  Thread Starter [hairyhobo](https://wordpress.org/support/users/hairyhobo/)
 * (@hairyhobo)
 * [6 years ago](https://wordpress.org/support/topic/specific-range-or-wildcard/#post-12676520)
 * Just to add, with the range method in place…
 * B1…B30
 * a order came in with a B5 postcode and it wouldnt work, yet its been letting 
   in other B16, B17, B6, all fine.
 *  Plugin Support [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [6 years ago](https://wordpress.org/support/topic/specific-range-or-wildcard/#post-12676704)
 * A range will only work if it only contains numbers (like US postal codes), but
   not when it also contains letters. In other words, if you want to match all postal
   codes between B1 and B30, you will need to list all of them specifically, on 
   30 individual lines:
 * `B1 *
    B2 * B3 * ..... B29 * B30 *
    -  This reply was modified 6 years ago by [Senff - a11n](https://wordpress.org/support/users/senff/).
 *  [AJ a11n](https://wordpress.org/support/users/amandasjackson/)
 * (@amandasjackson)
 * [6 years ago](https://wordpress.org/support/topic/specific-range-or-wildcard/#post-12715114)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘specific, Range or wildcard’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [AJ a11n](https://wordpress.org/support/users/amandasjackson/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/specific-range-or-wildcard/#post-12715114)
 * Status: resolved