title: validation in jquery
body: <p>If an address polo Rd is given, it identifies "po" in  polo and alerts error message. </p>
  
  <p>So, we should frame a new validation which should not accept address lines 1 and 2 with the values:</p>
  
  <ul>
  <li>"PO BOX",  "PO BIN",  "BIN", "P.O BOX", "P.O BIN", "P.O", "PO"</li>
  <li>the above values can be in any case</li>
  <li>spaces before, in between  and after the above words should also be found and validated. For example:  "    P  O    1234    "  should be validated and alert error message.</li>
  <li>But "Polo Rd", "Robin Rd", "testbintest" should be accepted as valid address in both the address lines </li>
  </ul>
  
  <p>the code which is writen for this is </p>
  
  <pre><code>jQuery.validator.addMethod("nopobox", function(value, element) {
       return this.optional(element) || ! /(P(OST)?\.?\s*O(FF(ICE)?)?\.?\s*((BOX)|(BIN)))|(^[^0-9]*((P(OST)?\.?\s*O(FF(ICE)?)?\.?)|((BOX)|(BIN))))/i.test(value);
  }, "");
  </code></pre>
  
  <p>Please let me know how I can change it </p>