in reply to Re^4: Extraction of numbers in an string
in thread Extraction of numbers in an string

But without some sort of grep step, that produces a spurious leading empty string in the output list:

c:\@Work\Perl\monks>perl -wMstrict -MData::Dump -le "my $string = '<1,22>:<5,7>:<333,0>'; my @x = split /\D+/, $string; dd \@x; " ["", 1, 22, 5, 7, 333, 0]


Give a man a fish:  <%-{-{-{-<