Syntactic Confectionery Delight | |
PerlMonks |
finding and deleting the value of special charactersby blacksmith (Hermit) |
on Jun 20, 2001 at 22:59 UTC ( [id://90141]=perlquestion: print w/replies, xml ) | Need Help?? |
blacksmith has asked for the wisdom of the Perl Monks concerning the following question:
I have a series of files with a number of characters such as &k2S and &l3A and countless others located with the text. All of these annoyances have the first two characters in common then 3 varying characters following. How do I find out what the value of these characters are and then delete them from my file. I have looked at the tr/// operator, but I am having trouble getting a grasp of its full potential. Any advice would be greatly appreciated. Blacksmith.
Back to
Seekers of Perl Wisdom
|
|