title: Regular expression to return all match occurrences
body: <p>I have text like below-</p>
  <p><code>02052020 02:40:02.445: Vacation Allowance: 21; nnnnnn Vacation Allowance: 22;nnn</code></p>
  <p>I want to extract the below in Python-</p>
  <pre><code>Vacation Allowance: 21
  Vacation Allowance: 22
  </code></pre>
  <p>Basically, I want to extract all occurrences of &quot;Vacation Allowance:&quot; and the numerical value following this suffixed with ;</p>
  <p>I'm using the below regular expression-</p>
  <pre><code>(.*)(Vacation Allowance:)(.*);(.*)
  </code></pre>
  <p>Full Python code below-</p>
  <pre><code>import re
  
  text = '02/05/2020 Vacation Allowance: 21; 02/05/2020 Vacation Allowance: 22; nnn'
  
  pattern = re.compile(r'(.*)(Vacation Allowance:)(.*);(.*)')
  
  for (a,b,c,d) in re.findall(pattern, text):
      print(b, &quot; &quot;, c)
  </code></pre>
  <p>This does not all give all occurrences, but gives only the last occurrence. The current output is-</p>
  <pre><code>Vacation Allowance: 22
  </code></pre>
  <p>Can you please comment on how I can extract all occurrences?</p>