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: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/