How to extract the amount in dollars from the next line
"some text will go here and more, and then there will be a price of $ 34.03, but that does not mean that the line will end"
I want to extract $ 34.03 ... I also want to extract if there are no cents
"some text will go here and more, and then there will be a price of $ 34, but that does not mean that the line will end"
Here I want to extract $ 34
php regex
st4ck0v3rfl0w
source share