I want to scan 2 datum and see if it has relevancy or not
<p>So I want to scan 2 Datum, these are texts, then I will rate it if it has relevancy. </p>

<p>Example:</p>

<pre><code>Data: individual facts
Data: statistics, items of information individual facts
</code></pre>

<p>This is my JS code that will scan the whole webpage:</p>

<pre><code>var listitem, thislist;
var itemname = new Array();
listitem = getElementsByClass('Forwards');
for(var i = 0; i &lt; listitem.length; i++) {  
if (listitem[i].innerHTML.match(/Data:/)) itemname.push(listitem[i].innerHTML);
}
</code></pre>

<p>So the itemname array contains the texts. The first array contains: </p>

<pre><code>Data: individual facts
</code></pre>

<p>The second array contains:</p>

<pre><code>Data: statistics, items of information individual facts
</code></pre>

<p>As you can see the second array contains more information:</p>

<pre><code>Data: statistics, items of information
</code></pre>

<p>But they are relevant right?</p>

<p>So I want to to return TRUE</p>

<p>How would I code this?</p>
