Thanks this solved it all and I learned a new Perl-thingy ;)

/juman

On Thu, Aug 26, 2004 at 12:22:04PM +0200, Paul Johnson wrote:
> On Thu, Aug 26, 2004 at 12:06:57PM +0200, juman wrote:
> 
> > I have som strings that I want to clean up. They can contain digits,
> > some special characters (white space etc) and a comma and all I want to
> > keep is the digits and the comma? Any idea how I could do this?
> 
> What have you tried?
> 
>   y/0-9,//cd
> 
> $ perldoc perlop
> 
> -- 
> Paul Johnson - [EMAIL PROTECTED]
> http://www.pjcj.net
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to