title: Python Regex - check for "123456/2016" pattern
body: <p>I want to check if a registry matches a pattern like "76/2016", "1454/2016", "153432/2013". Technically, before the dash there can be any combination of numbers of up to 6 characters (could be 2, could be 5, there is no specific rule for that) and after the dash there is a set of four numbers (years).</p>
  
  <p>Also, it might happen that some "lost spaces" show up, like " 76/2016 " or "   1454/2016" without a specific rule.</p>
  
  <p>I'm using <code>re.search(pattern,string)</code> for that, but I'm having difficulty to write a pattern that fits my needs. Could someone help? I'm a begginer with regex, as you can see...</p>