title: Python RgEx: Extract First Consecutive Capitalized Letters
body: <p>I have some news headlines and I would like to extract the name of the company involved in the headline. Here is an example</p>
  
  <pre><code>headlines = [
      "Chicago Policemen's Annuity &amp; Benefit Fund hired Chicago Equity Partners to manage $50 million in active U.S. smidcap value equity.",
      "Belmont Contributory Retirement System is searching for at least one U.S. small-cap equity manager to run initially up to $5 million.",
      "Phoenix Employees' Deferred Compensation Board will begin a search for an investment consultant before the end of February."    
  ]
  </code></pre>
  
  <p>As you can see, the pattern here is that the company name of interest is the first chain of capitalized words. The second chain of capitalized words is the secondary company.</p>
  
  <p>In our example, I want to return two variables all related to extracting the consecutive capitalized letters. So, it would return "Chicago Policemen's Annuity &amp; Benefit Fund", "Belmont Contributory Retirement System", and "Phoenix Employees' Deferred Compensation Board"</p>
  
  <p>Is there a way to do this extraction with regular expressions in Python?</p>