title: using sed or grep to split a url
body: <p>For instance , I have a url like this --> <code>http://google.com/test/to_be_extracted.html</code> I want to split this url and get <code>to_be_extracted</code> part only. I want to exclude <code>http://google.com/test/</code> and <code>.html</code> parts. </p>
  
  <p>How can I setup regex pattern using GREP or SED ? </p>