title: Regular expression matches everything except "/"
body: <p>Forgive me if this is a terribly simple question. It's been a while since I've written regular expressions.  Your help to brush of the rust is most appreciated. I am using regex in python</p>
  
  <p>I am trying to parse through some URLs. Here are the typical format of the URLS I am parsing:</p>
  
  <pre><code>https://www.anysite.com/word/123456789/description-of-the-page
  https://www.anysite.com/word/123456789/description-of-the-page/someword
  https://www.anysite.com/word/123456789/description-of-the-page/thisword
  https://www.anysite.com/word/123456789/description-of-the-page/anyword
  </code></pre>
  
  <p>I would like to write an expression that will only match the first URL and not the last three. That is, I want a regular expression that will only match if there is not a "/" following the "/" following the numeric string "123456789". </p>
  
  <p>Ignoring the main URL, I have tried a negative lookahead assertion without success:</p>
  
  <pre><code>/word\/.+?\/(?!\/).+/
  </code></pre>
  
  <p>This matches all of four examples. </p>
  
  <p>I can't be specific as to not ending in "/someword" "/thisword" or "/anyword" as I do not have a complete list of these words. </p>
  
  <p>Thanks again for looking and your thoughts!</p>