title: Python, regex to exclude matches of numbers
body: <p>To use regex to extract any numbers of length greater than 2, in a string, but also exclude "2016", here is what I have:</p>
  
  <pre><code>import re
  
  string = "Employee ID DF856, Year 2016, Department Finance, Team 2, Location 112 "
  
  print re.findall(r'\d{3,}', string)
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>['856', '2016', '112']
  </code></pre>
  
  <p>I tried to change it to below to exclude "2016" but all failed.</p>
  
  <pre><code>print re.findall(r'\d{3,}/^(!2016)/', string)
  print re.findall(r"\d{3,}/?!2016/", string)
  print re.findall(r"\d{3,}!'2016'", string)
  </code></pre>
  
  <p>What is the right way to do it? Thank you.</p>
  
  <p><strong>the question was extended, please see the final comment made by Wiktor Stribiżew for the update.</strong></p>