#!/usr/bin/perl -w while(<DATA>) { s/[^\d]+//g; print $_,$/; } __DATA__ 800-800-1212 (800)800-1212 (800) 800-1212 800 800 1212
__END__ 8008001212 8008001212 8008001212 8008001212
In reply to Re: Numbers only in a string
by sk
in thread Numbers only in a string
by powerhouse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |