in reply to regexp help needed

Sorry, the only link I have is to the Perl docs, perlre.
my ($mean) = $str =~ /total mean for ([-+0-9.]+)/;