Regex matching using JQuery
<p>I'm receiving a string as input, how can I get the values between the divs? For example:</p>

<pre><code>var temp = "This is line one.&lt;div&gt;This is line two.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;This is line three with a line break&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;This is line four with a line break and space.&lt;/div&gt;";
</code></pre>

<p>How can I get the text sentences out in an array? I have tried .filter and .each on the 'div' but they all miss the first one.</p>
