(.*)
/Uis', $body, $matches)) {
- $tabInfos['raiSoc']=trim($matches[1]);
- }
-
- if (preg_match("/Dernière mise à jour : (.*)<\/div>/Uis", $body, $matches))
- $tabInfos['dateMaj']=trim($matches[1]);
-
- $s1=substr($siren,0,3);
- $s2=substr($siren,3,3);
- $s3=substr($siren,6,3);
- if (preg_match('/
(?:.*)('.$s1.'(?:.*)'.$s2.'(?:.*)'.$s3.')(?:.*)('.$nic.')(?:.*)<\/div>/Uis', $body, $matches)) {
- $tabInfos['siren'] = trim($matches[1]);
- $tabInfos['nic'] = trim($matches[2]);
- }
-
- if (preg_match('/