title: Javascript Regular Expression multiple match
body: <p>I'm trying to use javascript to do a regular expression on a url (window.location.href) that has query string parameters and cannot figure out how to do it. In my case, there is a query string parameter can repeat itself; for example "quality", so here I'm trying to match "quality=" to get an array with the 4 values (tall, dark, green eyes, handsome): </p>
  
  <pre><code>http://www.acme.com/default.html?id=27&amp;quality=tall&amp;quality=dark&amp;quality=green eyes&amp;quality=handsome
  </code></pre>