using regex to account for any dollar amount entry in python 3, including just decimal values without grouping : I'm trying to account for the possibility of any USD denomination and I came up with this:

    \$\d+\.?\,?\d+\.?\d+

This works for entries like **$10,500.23, $1,050.23, $105.23, $105, $10, $1**

But won't work for things like **$.23**

I tried using \d+? instead of just \d? but that doesn't seem to work either (maybe there is a special way of handling this that I'm unaware of?)