Grunk has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (regular expressions)
I have a korn shell at work that strips all the control characters (octal 041-176). I'm trying to write a job in perl to do the same to do some speed comparisons.
My question is, how do I specify to sub a range of octal values to a space (default)?something like
s/!(octal value 041-176)/ /g
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How do I remove control characters?⭐
by jsprat (Curate) on May 07, 2002 at 22:28 UTC | |
Re: How do I remove control characters?⭐
by tachyon (Chancellor) on May 08, 2002 at 08:52 UTC | |
Re: How do I remove control characters?
by kgsz (Initiate) on Jan 09, 2005 at 15:37 UTC | |
Re: How do I remove control characters?
by Grunk (Initiate) on May 07, 2002 at 21:31 UTC |
Back to
Seekers of Perl Wisdom