Regex for matching decimals only, not integers : <p>I'm looking for a regex to match decimal numbers only, but to fail on integers.</p>

<p>For example, the following numbers should pass</p>

<pre><code>0.00
1.00
-1.00
3.3
2.22123
</code></pre>

<p>But the following should fail</p>

<pre><code>-1
-3
4
559
</code></pre>

<p>I don't know why this is so hard to find/create, but I'm not having any luck. All available regexes that I found online don't exclude integers.</p>
