On 2011-03-06 17:22, Shlomit Afgin wrote:
I have a data that contain unseen characters that I want to delete. The unseen characters can be ^L, ^N and other sign that I cannot copy but I see them in my data.Is someone know which regular can help me.
See perldoc perlre, specifically [:cntrl:]. Try for example: s/[[:cntrl:]]/_/g or alternatively: s/[\x00-\x1F]/_/g -- Ruud -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
