David Kramer wrote:
> 
> Im looking for a Regular Expression pattern that will allow me to remove everything 
>from a string but Numeric values.  I could have sworn there was a simple way to do 
>this, but I cant find it anywhere in Chapter 5 of the Camel????

Depending on your definition of `Numeric values', negating a character
class:

        $string =~ s/[^\d]//g;

hth

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to