"John W. Krahn" schreef: > Dr.Ruud: >> You might actually be looking for this: >> >> (my $newstring = $oldstring) =~ tr/0-9A-Za-z/ /cds; >> >> which replaces runs of non-alphanumeric characters with a single >> space. > > No it doesn't:
Oops, thanks for the correction. I was meant to be without the d-modifier. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>