1 $node->filter('span[class="final-price"]')->each(function ($n) {
2 $html = $n->html();
3
4 $html = explode("<span", $html);
5 // <span>
6 // 11 USD
7 // <span> -37% </span>
8 // </span>
9 pr (trim($html[0])); // just get 11 USD only
10 });