title: Javascript IBAN Validation. Check german or austrian IBAN
body: <p>i want to validate a german or a austrian iban.</p>
  
  <pre><code>['validate-IBAN', 'Please enter a valid IBAN.', function (v) {
  
       var pass=v.strip();
       if (0 == pass.length) {
           return true;
       }
       if (!(/[AT || DE]\w{2}/i.test(v)) || !(/[0-9]\w{18 || 20}/.test(v))) {
           return false;
       }
       return !(pass.length &lt; 20);
  
          }],
  </code></pre>
  
  <p>I want to check an german IBAN like DE19 1234 1234 1234 1234 12 (two letters and 20numbers) or an
  austrian IBAN like AT6119043002345732201 (2letters and 18 numbers)</p>
  
  <p>But it doesnt work. What is wrong?</p>
  
  <p>Thanks a lot (-:</p>