title: Regex for Matching a Floating Point Number which is not an Integer
body: <p>I have the following regular expression which I use to find numbers in strings</p>
  
  <pre><code>-?\d*\.?\d+([eE][-+]?\d+)?
  </code></pre>
  
  <p>and wish to modify it such that it <em>only</em> matches floating point numbers and not integers.  The criteria for this (as best I can discern) is that the match must feature at least one of: <code>.</code>, <code>e</code>, <code>E</code>.  However, I can not think of a nice way of incorporating this requirement into the regex without duplicating most of the body.</p>
  
  <p><strong>Duplicate</strong></p>
  
  <p>After a bit of searching I came across <a href="https://stackoverflow.com/questions/13252101/regular-expressions-floating-point-number">Regular expressions match floating point number but not integer</a> which although not clearly titled is an exact duplicate of this problem (incl. soln).</p>