title: egrep match version number using grep
body: <p>If I have a string as follows: <code>DATABASE PATCH FOR EORQ (JAN2014 - 11.2.0.4.1)
  </code></p>
  
  <p>How would I go about matching the version number? I.e. I would like to extract <code>11.2.0.4.1</code>. I would like to avoid using sed and awk, as the line is arbitrary, and may change in the future, so I am looking for something which would match a version word containing digits as well as <code>.</code>'s. </p>
  
  <p>I tried to use egrep as follows: <code>egrep -o "[0-9.]{1,}"</code> But it returns</p>
  
  <pre><code>2014
  
  11.2.0.4.3
  </code></pre>
  
  <p>Thanks!</p>