title: How to extract part of location.href in JavaScript?
body: <p>In this example, what's the regexp to to extract 'first' from location.href, such as:</p>
  
  <p><a href="http://www.mydomain.com/first/" rel="nofollow noreferrer">http://www.mydomain.com/first/</a></p>