title: Regex to match all '&' before first '?'
body: <p>Basically, I want to do "zipzam&amp;&amp;&amp;?&amp;&amp;&amp;?&amp;&amp;&amp;" -&gt; "zipzam%26%26%26?&amp;&amp;&amp;?&amp;&amp;&amp;". I can do that without regex many different ways, but it'd cleanup things a tad bit if I could do it with regex.</p>
  
  <p>Thanks</p>
  
  <p>Edit: "zip=zam&amp;&amp;&amp;=?&amp;&amp;&amp;?&amp;&amp;&amp;" -&gt; "zip=zam%26%26%26=?&amp;&amp;&amp;?&amp;&amp;&amp;" should make things a little clearer.</p>
  
  <p>Edit: "zip=zam=&amp;=&amp;=&amp;=?&amp;&amp;&amp;?&amp;&amp;&amp;" -&gt; "zip=zam=%26=%26=%26=?&amp;&amp;&amp;?&amp;&amp;&amp;" should make things clearer.</p>
  
  <p>However, theses are just examples. I still want to replace <em>all</em> '&amp;' before the first '?' no matter where the '&amp;' are before the first '?' and no matter if the '&amp;' are consecutive or not.</p>