How do I match two numbers, each preceded by dollar signs and with a hyphen between them, such as '$1,000 - $2,000'. I'd like to get the full range with the dollar signs included.
'$1,000 - $2,000'
Other examples:
'$30 - $40'
'$1-$2'
I've tried: ([\$0-9, -]*){1}
It doesn't work when there are characters before.