title: RegEx for URL ending with a query string
body: <p>I've been using Ensighten for tag management. The way it manages conditions (which pages the tracking scripts are deployed onto) is by using RegEx for the protocol, host and path separately. </p>
  
  <p>Right now, my current condition looks a bit like this:</p>
  
  <pre><code>Protocol: ^(https?)$
  
  Host: ^((www|www-qa)\.example\.com)$
  
  Path: ^(/section-one/page/?|/section-two/page/?|/section-three/page/?)$
  </code></pre>
  
  <p>This works fine. However, I've been asked to add a URL ending with a query string, and that's where I'm having an issue. </p>
  
  <p>Essentially, I need to also target a URL with the following format:</p>
  
  <pre><code>http://www.example.com/section-one/page?&amp;var123=456
  </code></pre>
  
  <p>How do I edit my RegEx for the URL path to include this path?</p>
  
  <pre><code>/section-one/page?&amp;var[any numbers, letters, symbols]
  </code></pre>
  
  <p>Note that for this /section-one/, I only want to target /page or /page +  a query string, no subpages. I don't want to target a <em>specific</em> query string. I also want the other pages already in my RegEx to remain included.</p>
  
  <p>How do I write this expression? I have to stick to the "must match this RegEx" single-expression format.</p>
  
  <p>Thanks!</p>