It is the not (^) digit (\d)= [^\d]+

Eg:
print map{chr($_)} split(/[^\d]+/,<<_DEAD_
74  Since 117 it 115 costs 116 a 32 lot 65 to 110 win,
111 And 116 even 104 more 101 to 114 lose, 
32  You 80 and 101 me 114 bound 108 to 32 spend 72 some 97 time 
99  Wond'rin 107 what 101 to 114 choose - 44 Hunter/ 10 Garcia.
_DEAD_
);

will print JAPH

-Arthur

-----Original Message-----
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On Behalf Of David Kramer
Sent: Tuesday, May 21, 2002 2:45 PM
To: [EMAIL PROTECTED]
Subject: RegExp Question: removing anything but...

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????

Thanks,

DKramer
=
Z)

fyXXh'`)Ŋlzry+Z(:.䀞˛
mmඟ+-qěbjoj)fj˛

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to