Javascript Regexp for Amount
<p>Strugling with trying to do the following without having to write a complex regexp:</p>

<p>I want the following inputs only: 
Numbers, commas (,) and Period (.)</p>

<p>Example</p>

<ul>
<li><strong>123.123.101.45,00</strong>   </li>
<li><strong>1.0</strong>   </li>
<li><strong>1,00</strong>   </li>
<li><strong>5</strong>   </li>
<li><strong>50</strong>   </li>
</ul>

<p>As you can see from the examples above all 3 types of input (number,comma and Period) dont have to be all present at the same time but these are the only 3 types of input I want to allow. Anything else should not be allowed.</p>

<p>Can someone help please, thanks in advance.</p>
