title: How can I get substring or 2 words from the list on matching text?
body: <p>I have a list where all the company name is there</p>
  
  <pre><code>organizations={'mahindra &amp; mahindra','atametica','cognizant Technology','Tata Cosultancy Services'}
  </code></pre>
  
  <p>I have a text where I have 1 or 2 company names and I want to extract those company names from the organizations.
  example:</p>
  
  <pre><code>text = 'XXX has worked in Tata Consultancy Services and currently working in cognizant technology.He has experience in Java Technology as well'
  </code></pre>
  
  <p>How can I fetch company from the text.</p>