in reply to Pattern match and splitting of that

Which part of your code should extract -126.06686 from your string?

Also read perlretut and perlre.