title: Filter out trailing slash type URL with regex
body: <p>I want to capture <code>www.example.com/stuff/morestuff</code> from the following list:</p>
  
  <pre><code>www.example.com/stuff/morestuff
  www.example.com/stuff/morestuff/
  www.example.com/stuff/morestuff///
  </code></pre>
  
  <p>I was trying this regex:</p>
  
  <p><code>^(.*)(?:\/)*$</code></p>