title: jQuery Validate UK Postcode
body: <p>I have built a script to lookup flood areas via postcode and I'm looking to validate the field, I currently have a custom jQuery Validate method as the following.</p>
  
  <pre><code>jQuery.validator.addMethod("postcodeUK", function (value, element) {
      return this.optional(element) || /[A-z]{1,2}[0-9]{1,2} ?[0-9][A-Z]{2}/i.test(value);
  }, "Please specify a valid Postcode");
  </code></pre>
  
  <p>The only issue is I require the space in-between for example AB12 3CD or BC1 9GH. It current allows AB123CD or BC19GH.</p>