in reply to Numerical Regular Expression for pattern match

Something like this?

#!/usr/bin/perl use warnings; use strict; my $data = q|iters = 320 (3.05s) aver = 9568.34 us (9603.45 us, 1.01s, + 99.79%)|; my @numerics; @numerics = ($data =~ /([\d\.]+)/g); print "*$_*\n" for @numerics;
Output:
---------- Capture Output ---------- > "c:\perl\bin\perl.exe" _new.pl *320* *3.05* *9568.34* *9603.45* *1.01* *99.79* > Terminated with exit code 0.