in reply to
remove bad characters
see
perlre
and the various character classes. Maybe you want something like:
s/[[:^print:]]//g
or maybe
s/[[:cntrl]]//g
Comment on
Re: remove bad characters
Select
or
Download
Code
In Section
Seekers of Perl Wisdom