title: How to find all the exact matches in a given string using python Regex
body: <p>I am trying to fetch all the 3 character words from my string, but getting only first occurrence</p>
  <pre><code>import re
  a=&quot;AAA BBBBBBBBBB CCCCCCC DDD FFF&quot;
  print(re.findall('(^[A-Z]{3})',a))
  </code></pre>
  <p>Actual output:</p>
  <pre><code>['AAA']
  </code></pre>
  <p>Expected Output is:</p>
  <pre><code>['AAA','DDD','FFF']
  </code></pre>