Javascript: regex for money values
<p>Been out of the regex game for a while. Trying to come up with something that will allow the user to enter a money value either with/without dollar sign or with/without commas. For example, all the of the following values should be valid:</p>

<p>5</p>

<p>5.1</p>

<p>5.10</p>

<p>$5</p>

<p>500,000</p>

<p>500,000.1</p>

<p>500,000.10</p>

<p>$100,000,000.50</p>

<p>Etc....</p>

<p>Could someone please help me out?</p>
