title: Regular expression - matching inside a string
body: <p>I have been trying to find a regular expression for matching just numbers in the following expression but I need certain group.</p>
  
  <p>For example:</p>
  
  <p><b>Vdsl 1.10.4</b></p>
  
  <p>How it's possible to match <b>10</b></p>
  
  <p>Also I need an expression for matching <b>4</b></p>
  
  <p>P.S I'm using as Regex flavour Oracle SQL function regex_substr()</p>
  
  <p>Thanks</p>
  
  <hr>
  
  <p>Edit:</p>
  
  <p>I think I found a workaround:</p>
  
  <ul>
  <li><p>with REGEXP_SUBSTR() you can match it with dots: '.10.' Afterwards with REGEXP_REPLACE the number can be extracted.</p>
  
  <p>REGEXP_REPLACE(REGEXP_SUBSTR('Vdsl 1.10.4','.\d+.'),
               '.(\d+).',
               '\1')</p></li>
  <li><p>and for the last number</p>
  
  <p>REGEXP_REPLACE(REGEXP_SUBSTR('Vdsl 1.10.4','.\d+$'),
               '.(\d+)',
               '\1') </p></li>
  </ul>