title: Extract only percentage information from text in python using regex
body: <p>I'm trying to extract only valid percentage information and eliminate any incorrect representation from a string using regular expression in python. The function should work like this,
  For,</p>
  
  <pre><code>0-100%  = TRUE
  0.12% = TRUE
  23.1245467% = TRUE
  9999% = FALSE
  8937.2435% = FALSE
  7.% = FALSE
  </code></pre>
  
  <p>I have checked a few solutions in stack overflow which only extract 0-100%. I have tried the following solutions,</p>
  
  <pre><code>('(\s100|[123456789][0-9]|[0-9])(\.\d+)+%')
  '(\s100|\s\d{1,2})(\.\d+)+%'
  '(\s100|\s\d[0-99])(\.\d+)+%'
  </code></pre>
  
  <p>All these works for all other possibilities except 0-99%(gives FALSE) and 12411.23526%(gives TRUE). The reason for space is that I want to extract only two digit numbers.</p>