Regex for Non-negative numbers with two decimals OR Non-negative Integers. No leading 0 : <p>As-salāmu ʿalaykum,</p>

<pre><code>Allowed:

0
0.00
0.01
0.10
0.11
1
1.00
1.10
1.01
1.11
99999999
99999999.00
99999999.01
99999999.10
99999999.11

NOT ALLOWED:
.
.00
00
00.
00.00
00.01
00.10
00.11
01
010
01.
01.00
01.000
</code></pre>

<p>I could go on but i think you get the gist of what I want. The Regex will be used to validate currency, with a maximum of two optional decimals. No upper limit for the left hand side of the decimal, as long as it isn't a leading 0. </p>

<p>It will be used in a Java-application.</p>

<p>Thanks in advance</p>
