codice:
function strip_units ($data) {
preg_match('/([\d\s\.\+\-]+)/',$data,$t);
$t = str_replace(" ", "", $t[1]);
return $t;
}