title: extract the string that comes after a question mark in URL
body: <p>If anyone could help me with me this, it would very appreciative.</p>
  
  <p>I'm trying to extract the string that comes after the last question mark ('rrrrrrrrrrrrrrrrrrrr' in the following example): </p>
  
  <p>from:</p>
  
  <blockquote>
    <p><a href="https://www.youtube.com/embed/url=https://sites.google.com/a/yink.net/uok/ee.xml&amp;container=enterprise&amp;view=default&amp;lang=en&amp;country=ALL&amp;sanitize=0&amp;v=9a2d7691ff90daec&amp;libs=core&amp;mid=38&amp;parent=http://j.yink.net/home/sandbox" rel="nofollow noreferrer">https://www.youtube.com/embed/url=https://sites.google.com/a/yink.net/uok/ee.xml&amp;container=enterprise&amp;view=default&amp;lang=en&amp;country=ALL&amp;sanitize=0&amp;v=9a2d7691ff90daec&amp;libs=core&amp;mid=38&amp;parent=http://j.yink.net/home/sandbox</a>?<strong>rrrrrrrrrrrrrrrrrrrr</strong></p>
  </blockquote>
  
  
  
  <p>to:</p>
  
  <blockquote>
    <p>rrrrrrrrrrrrrrrrrrrr</p>
  </blockquote>
  
  <p>I've tried this code, but it doesn't give the right result:</p>
  
  <blockquote>
    <p>document.getElementById("demo").innerHTML = window.location.search.slice(1);</p>
  </blockquote>