title: Regular Expression for Google Analytics Goals (Require Query String Parameters)
body: <p>I'm trying to build a lookahead regular expression to match a URL, only if it has both <code>action=upgrade</code> and <code>result=success</code> as querystring parameters.</p>
  
  <p>Examples to Match Against:</p>
  
  <p><a href="http://example.com/account/?result=success&amp;action=upgrade#some_anchor" rel="nofollow">http://example.com/account/?result=success&amp;action=upgrade#some_anchor</a></p>
  
  <p><a href="http://example.com/account/?action=upgrade&amp;result=success#some_anchor" rel="nofollow">http://example.com/account/?action=upgrade&amp;result=success#some_anchor</a></p>
  
  <p>I tried this at Rubular, but it didn't work:</p>
  
  <p><a href="http://rubular.com/r/UmxQFkXm8z" rel="nofollow">http://rubular.com/r/UmxQFkXm8z</a></p>