title: Express.JS get url path without any additional parameters
body: <p>Is there any straightforward way to get URL path segment without any additional data (url parameters, css '#', etc.)</p>
  
  <p>for example:<br/><br/>
  full URL: <code>http://example.com/panel/list</code><br/>
  path segment I want to get: <code>/panel/list</code><br/>
  <br/>
  full URL: <code>http://example.com/panel/list?user=joe</code><br/>
  path segment I want to get: <code>/panel/list</code><br/>
  <br/>
  full URL: <code>http://example.com/panel/list#header</code><br/>
  path segment I want to get: <code>/panel/list</code></p>
  
  <p>And any other combination of data that is not path segment of my URL </p>