Jak wydobyć cześć stringa z <string> pobranego z SIMPLE HTML DOM PHP

0

Hej, mam problem, w reg exp testerze działa https://regexr.com/4ttcb a w php nie działa.

<?php
include_once('./parser/simple_html_dom.php');
$details = file_get_html("https://gratka.pl/nieruchomosci/dom-poznan-baranowo-ulica-sloneczna-smochowice-chyby-przezmierowo/oi/7809495");

$results = $details->find('script', 38);

preg_match('/\"lokalizacja_szerokosc-geograficzna-y\"\:([\d]+.[\d]+)/', $results->outerText, $latitude);
var_dump($latitude);
1

$results->outerText => $results->outertext.

1 użytkowników online, w tym zalogowanych: 0, gości: 1