How would I extract the dollar amount from the following string
\"some text will go here and more and more and then there will be some price $34.03 but that doesn\'t
Since you don't mention a specific regex engine, you might have to adjust this a bit:
/(\$\d+(\.\d+)?)/