title: Fetch word range of a sentence from character range in a paragraph
body: <p>I have a set of words that is</p>
  
  <pre><code>Birds are a group of endothermic vertebrates, characterised by feathers Birds are also known as Aves They have toothless beaked jaws They have a high metabolic rate Birds are also known as Aves
  </code></pre>
  
  <p>What I need to do is find multiple occurrences of the words 'Birds are also known as Aves'. So I have written a regex to match the character index of 'Birds are also known as Aves' in this paragraph. Here I get two matches:</p>
  
  <p>The span here represents character range. </p>
  
  <pre><code>   &lt;_sre.SRE_Match object; span=(72, 100), match='Birds are also known as Aves'&gt;
  &lt;_sre.SRE_Match object; span=(165, 193), match='Birds are also known as Aves'&gt;
  </code></pre>
  
  <p>But I need to know the word range instead of the character range. As in the word range (10,16) in the first match and (27,33) in the second match. </p>