I got a string like:
$str = \"CASH55.35inMyPocket\";
I want to get 55.35 only.
I tried:
$str = flo
function extract_numbers($string) { preg_match_all('/([\d]+)/', $string, $match); return $match[0]; }