JSFiddle - React, Tailwind, and code Playground JavaScript alert("$10,000.00".match(/\$\d+(,\d+)*(?:\.\d+)?/g));