Matches a price in USD, with optional cents.
^\$?\d{1,3}(?:,\d{3})*(?:\.\d{2})?$
$1,234.56
100
Test and customize this pattern in our interactive editor