title: How to extract single sentences with jQuery?
body: <p>I am trying to extract two sentences out of a bunch of paragraphs, and I am stuck... Basically, the paragraphs look like this:</p>
  
  <pre><code>&lt;p class="some_paragraph"&gt;This is a sentence. Here comes another sentence. A third sentence.&lt;/p&gt;
  &lt;p class="some_paragraph"&gt;Another sentence here. Interesting information. Very interesting.&lt;/p&gt;
  &lt;p class="some_paragraph"&gt;This is a sentence. Here comes another sentence. A third sentence.&lt;/p&gt;
  </code></pre>
  
  <p>What I need to do, is to find the two 'shortest' sentences out of all 9 sentences in these three paragraphs. The two extracted sentences have to be put into the following spans:</p>
  
  <pre><code>&lt;span class="span1"&gt;Shortest sentence comes here&lt;/span&gt;
  &lt;span class="span2"&gt;Second shortest sentence comes here&lt;/span&gt;
  </code></pre>
  
  <p>How do I do that?</p>