develooper Front page | perl.beginners | Postings from January 2002

substitute all non-digits with ''. I think I saw this posted recently, but I could not find it...

From:
McCollum, Frank
Date:
January 7, 2002 11:53
Subject:
substitute all non-digits with ''. I think I saw this posted recently, but I could not find it...
Message ID:
59B292A4FEF3D411A10600508B6F27B2036C4D52@clttmp21.ncmi.com
I want to take all non-digits and drop them out of my string.  I would think
it would be something like...

s/!(\d+)//;  but this is not the case



Frank McCollum
Bank Of America Securities, LLC
frank.mccollum@bankofamerica.com
(704) 388-8894



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About