title: Regex: Match any string but one ending with thanks/
body: <p>I am attempting to set up a goal funnel in Google Analytics.  It is for an online quote request system that we want to track.  Basically all the pages that contain the quote request form have unique dynamically generated urls that are similar.  The form of the URL is:</p>
  
  <blockquote>
    <p>/quoterequest/categoryone/categorytwo/productname/</p>
  </blockquote>
  
  <p>I have regex that works for tracking that:</p>
  
  <pre><code>^/quoterequest/([A-Za-z0-9/-]+)?
  </code></pre>
  
  <p>Today we added a thank you page after the user submits the form.  The URL is always the same for that:</p>
  
  <blockquote>
    <p>/quoterequest/thanks/</p>
  </blockquote>
  
  <p>I would like to modify the above regex so that it continues to match any of the Quote Request URLs, but NOT that thank you URL. I have been trying different variations, including t. he negative look ahead,but unfortunately I am not very experienced with regex and I think I've been doing it completely incorrectly.  Can anyone give me some insight as to the correct method of doing this?</p>