in reply to Re^2: noobie control char removal
in thread noobie control char removal

He meant
s/[[:cntrl:]]//g;

POSIX classes must be used inside a regex character class.