in reply to Getting Trouble with REGEXP
$nums =~ s/\D/ /g; [download]
Search for 'modifier' in perlop.