title: Regex: searching for exactly 3 capital letters
body: <p>I am using <a href="https://pythex.org/" rel="nofollow noreferrer">https://pythex.org/</a> to test the following:</p>
  
  <p>I want to search the test string below, select all consecutive characters that have exactly three capital letters.</p>
  
  <p>Test string: <code>bcAc BBGFeQFFJaaBx EBBcDDD</code></p>
  
  <p><code>[A-Z]{3}</code> returns all groups of 3 uppercase characters and even those with 4 inside. I have tried to force only 3 capitals using <code>^[A-Z]{3}$</code> but this does not work either.</p>
  
  <p>In the above string I only want <code>EBB</code> and <code>DDD</code> to be matched.</p>