Regular expression for a positive decimal comma separator with 2 decimal places MVC
<p>Valid values for a Model property validation in a MVC5 project:</p>

<p>Decimal numbers from 0,01 to 999,99 but i can accept 0,1 or 9 or 9,01</p>

<pre><code>0,01

,1

,20

1

1,2

1,20

00,2

00,20
</code></pre>

<p>For now I have:</p>

<pre><code>[RegularExpression(@"^(((\d{1,3})(,\d{3})*)|(\d+))(.\d+)?$", ErrorMessage = "Largura inválida.")]
</code></pre>

<p>But it accepts "." and more than 2 decimal places.</p>