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

I tried that, it took out all the c,n, t, r characters.

Replies are listed 'Best First'.
Re^3: noobie control char removal
by ikegami (Patriarch) on Nov 18, 2009 at 23:52 UTC
    He meant
    s/[[:cntrl:]]//g;

    POSIX classes must be used inside a regex character class.

Re^3: noobie control char removal
by colwellj (Monk) on Nov 18, 2009 at 23:52 UTC
    Can you edit your post to add the data you are having trouble with?
    Also you can try the unicode version;
    s/\p{IsCntrl}//g;