How to match duplicate words from a paragraph using C# or jquery?
<p>I want to match common words between two strings</p>

<pre><code>// C# code  
string str1,str2;
</code></pre>

<p>I want to check five words in the first fifteen words of string str1 </p>

<pre><code>str1="Musician Ben Sollee on the Ravages of Coal and the Wonders of the Bicycle"
str2="There is Wonders of Musician Ben Sollee on the Ravages of Coal"
</code></pre>

<p><strong>I want to skip verb comparision from above strings like "of", "on", "the" etc.. only check words without verbs...</strong> <br></p>

<p>from above strings I want to compare <strong>str2</strong> with <strong>str1</strong> if it contain five duplicate words then give message it contains some duplicate words.. </p>

<p>How I compare it and check it contains duplicates. I am happy with either a jQuery or C# answer.</p>
