how can i find anything between <span style="color: red;">Your Price</span>:$ HTML: and <br> HTML: and echo this
You need to use regex (regular expressions) for that. /<\/span>\:\$(.*?)<br>/ This ought to do it, but you can check your regex with this handy tool Hope this helps!