using regex to match integer in C# : <p>I want a regex to match strings like "1" , "15000" and "15000." as integer, but do not match "15000.0"</p>

<p>I have tried:</p>

<pre><code>[0-9]+(\\.|[0-9]+)?
</code></pre>

<p>but failed</p>

<p>How to write this regex in C#</p>
