title: Regex to capture first substring with the following properties
body: <p>I'm looking for a regex to capture the first substring with the following properties:</p>
  
  <ol>
  <li>The substring contains no lowercase letters or symbols</li>
  <li>The substring is <strong>immediately</strong> preceded by "..."</li>
  <li>The substring is <strong>immdiately</strong> followed by "...\n</li>
  </ol>
  
  <p>For example,  I'd like to capture "FOO BAR" in the following</p>
  
  <p>"...this is TEXT...\n that...\nI DON'T CARE ABOUT...\nbut I do care about...FOO BAR...\nNothing else matters."</p>