non funziona..Codice PHP:
<?php
$string1="Simulator 422962/453000 391049/453000 453000/453000 6474/737100";
$string2=" 216254/1148";
if (preg_match("/.*\d*.\d*.*\d*.\d*.*\d*.\d*.(\d*).(\d*).*/",$string1,$matches)) {
$a1=$matches[1];
$a2=$matches[2];
}
if (preg_match("/.*(\d*).(\d*).*/",$string2,$matches)) {
$b1=$matches[1]-$matches[2];
}
?>
mi sapete dire dove sbaglio? ^^