title: Take a url variable with regex
body: <p>I have the following url</p>
  
  <pre><code>http://www.test.info/link/?url=http://www.site2.com
  </code></pre>
  
  <p>How do I get the value of the url parameter with regular expressions in javascript?</p>
  
  <p>Thanks</p>