I have this text and i like to detect the adresse ip with preg_match
Nmap scan report for pc39.home (192.168.1.15)
you find there the regular expression that i have used but it not work the retrun is 0.
$regex=preg_match('/^\(([\d.]+)\)$/', $scan, $out);
Thank you in advance.