title: Regular expression to match numbers with a slight issue
body: <p>My problem is to extract numbers from a list of currency list.</p>
  <p>My test data would be something like this</p>
  <pre><code>$100.00
  AUD 2012.00
  Rs. 234.0 ASD
  133 USD
  Another thing 1233S.E122
  Blah Blah 1.23 
  SG$ 013.3
  23.03 Something
  Something T1233S.122S Else
  Whatever 2
  </code></pre>
  <p>And the regular expression I came up with is</p>
  <pre><code>(\d+)\.?(\d+)?
  </code></pre>
  <p>So basically, a number followed by an optional dot and another optional number.</p>
  <p>So <a href="http://bit.ly/pK7REQ" rel="nofollow noreferrer">while this works fine</a>, it works a little way more than I want. For an example it matches</p>
  <p>the 1233 and 122 in <code>1233S.E122</code> and same for <code>T1233S.122S</code></p>
  <p>I understand that because I run it with the <strong>global flag</strong>, all the digits are matched.</p>
  <p>How would I make it NOT match those that contains a non-digit in the start, middle or end ?</p>
  <p>Please be kind enough to give brief explanation for your answer as I am a beginner in RegEx .</p>