in reply to
Numbers only in a string
$phone =~ s/\D|^1//g;
Same as davido and sk, but also strips a leading 1 from the number.
Comment on
Re: Numbers only in a string
Download
Code
In Section
Seekers of Perl Wisdom