title: Compare Certain Strings (part of sentence) from Paragraph
body: <p>I have a Map,</p>
  
  <pre><code>HashMap&lt;String,String&gt; dataCheck= new HashMap&lt;String,String&gt;();
  dataCheck.put("Flag1","Additional Income");
  dataCheck.put("Flag2","Be your own boss");
  dataCheck.put("Flag3","Compete for your business");
  </code></pre>
  
  <p>and a paragraph.</p>
  
  <pre><code>String paragraph = "When you have an additional Income, you can be your
   own boss. So advertise with us and compete for your business. We help 
   you get additional income";
  </code></pre>
  
  <p>So what I want to achieve is for every member of the Hashmap, I want to compare it with the paragraph and find a number of repetitions. The match  My output must be as follows:</p>
  
  <p>Flag1 - 2 ,  Flag2 - 1 , Flag3 - 1</p>
  
  <p>So, basically, I just want to get an idea on how I compare certain string with another set of strings.</p>
  
  <p>Update: The Match would be case insensitive. </p>