I have a regex which finds all kind of money denoted in dollars,like $290,USD240,$234.45,234.5$,234.6usd
(\\$)[0-9]+\\.?([0-9]
Try this
^(?:\$|usd)?(?:\d+\.?\d*)(?:\$|usd)?$