|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Answer: How do I remove control characters? |
| ( #164953=categorized answer: print w/ replies, xml ) | Need Help?? |
|
Q&A > regular expressions > How do I remove control characters? contributed by tachyon
tr/// is better but all you needed to make your pseudocode real perl code was:
Note that the control chars are \000 - \037 so these are perhaps more direct:
Note chr 32 dec 040 octal is the space so you were double spacing your spaces by starting at \041
|
|
||||||||||||||||||