title: Extract the names from raw text
body: <p>I am working on a problem where i have a raw text in which there's a pattern like <code>Some Name (vs|v.) Some other name</code> and i want to extract those names i.e. </p>
  
  <p>I TRIED </p>
  
  <p><code>(first group) (vs|v.) (second group)</code> </p>
  
  <p>using regex to catch the words on both sides of vs but that catches only a word and not the complete name and i don't know where to stop while extracting names on both the sides of <code>vs</code> as the names are pretty much the same as other text</p>
  
  <p>Any help would be appreciated  </p>
  
  <p>text is something like</p>
  
  <pre><code>person concerned applies, the Assessing Officer has to issue an appropriate certificate [Cf. 
  &lt;em&gt;L. Hirday Narain vs Income Tax Officer, 
  &lt;/em&gt;(1970) 78 ITR 26(SC) ]. 
  </code></pre>
  
  <p>so here the regex should catch 
  <code>L. Hirday Narain</code> and <code>Income Tax Officer</code></p>