title: Extracting Month and Year from a string with Python Regex
body: <p>I have a string from which I want to extract month name and year with Python regex. The string looks like the following-</p>
  
  <pre><code>x='januray valo na Feb 2017 valo Jan-2015 anj 1900 puch Janu Feb Jan Mar 15 MMMay-85 anF 15'
  </code></pre>
  
  <p>I code should return the following-</p>
  
  <pre><code>['Feb 2017', 'Jan-2015', 'Mar 15', 'May-85']
  </code></pre>
  
  <p>I have tried-</p>
  
  <pre><code>re.findall('[Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec]{3}[\s-]\d{2,4}', x)
  </code></pre>
  
  <p>But I the code picking up <strong>anF 15</strong> as well, i.e. I am getting the following output-</p>
  
  <pre><code>['Feb 2017', 'Jan-2015', 'Mar 15', 'May-85', 'anF 15']
  </code></pre>
  
  <p>How can I stop the code from picking up wroong combinations like J<strong>an|Fe</strong>b?</p>