Separate web links from paragraph into a JS array
<p>I checked all answers above to see if mine was answered , please don't tag this as duplicate</p>

<p>In the application that i am building there is a div </p>

<pre><code>&lt;div class="paragraphlink"&gt; &lt;/div&gt;
</code></pre>

<p>I am allowing users enter any text like this</p>

<blockquote>
  <p>Räikkönen was among the two Formula One drivers <strong>http://www.formula1.com</strong> who made it into the Forbes magazine's The Celebrity 100 list, the other being Fernando Alonso <strong>http://www.google.com</strong>. He is 36th on Forbes magazine's <strong>http://www.forbesmagazine.com</strong></p>
</blockquote>

<p>If you notice there are urls present in the above para. can you please help me with a javascript code to extract all the urls from the para above?</p>
