title: How to replace several parts in a url with a regex?
body: <p>I am using regex to replace some parts of an URI.</p>
  <p>What I would like to do is, for example, in a URI: <code>/something/more/and/continue/123456789/word?l=1</code></p>
  <ol>
  <li>replace <code>/something/more/</code> by an <code>'_'</code></li>
  <li>replace the <code>'/'</code> but only the one before <code>'and'</code> and after <code>'more'</code></li>
  <li>replace <code>/word?</code> by <code>'&amp;'</code></li>
  </ol>
  <p>I have tried to do this with groups but it hasn't worked.</p>
  <p>Is that possible to do it all at the same time or in another way?</p>