my @numbers= $text =~ /([-+\d.eE]+\d)/g; #### my( $number, $units )= $text =~ /([-+\d.eE]+\d)(.*)/;