How can I get price 1.199,00
from below html using preg_match_all
?
`<h4><span class="price_label">Preis: </span>1.199,00 Euro (inkl. 19% MwSt.)</h4>`
Code
<?php
$pattern = '#'.$regex.'#';
preg_match_all($pattern, $data, $price);
print_r(price);
?>