Please Help a javascript to cut parts of links?
<p>If I put this link </p>

<blockquote>
  <p><code>http://www.google.co.in/search?nomo=1&amp;q=Quantum+physics+india&amp;client=ms-opera-mini&amp;channel=new&amp;hl=en&amp;</code></p>
</blockquote>

<p>in textarea and submit, it should give me a clean link in another textarea after page loads, like this:</p>

<blockquote>
  <p><code>http://www.google.com/search?q=Quantum+physics+india</code></p>
</blockquote>

<p>How will be the javascript for this ?</p>
