title: REGEX grabbing a number from .1-5
body: <p>Is there to grab any number from .1 to 5 in a string.  Here is what i have so far</p>
  
  <pre><code>cls
  $string = "test3.832test"
  $string = "test6.832test"
  #$pattern = "(\d[0-5].\d{0,3})"
  #EDIT TO ADD THIS NEW PATTER
  $pattern - "(\d\.?\d{0,2})"
  if($string -match $pattern){
      Write-Host "yay" $Matches[1]
  }
  </code></pre>
  
  <p>My problem here is that this also grabs the 6.832 number as just .832.  I have two questions.  Is there a way for the whole number to fail if it is greater then .1 and also the second question is can i do something like [.1-5].  Is there a way to use decimals instead of just whole numbers to signify a range. </p>
  
  <p>Also i only need up to the second decimal</p>