in reply to Re: How to remove non-numbers from string
in thread How to remove non-numbers from string

Or even:

c:\@Work\Perl\monks>perl -wMstrict -le "my $string = 'data.csv'; $string =~ s/\D//g; $string ||= 0; print qq{'$string'}; " '0'


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