There's more than one way to do things | |
PerlMonks |
How do I remove control characters?by Grunk (Initiate) |
on May 07, 2002 at 21:30 UTC ( [id://164831]=perlquestion: print w/replies, xml ) | Need Help?? |
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.
Back to
Seekers of Perl Wisdom
|
|