in reply to Trying to delete text from a text file
In any case, this appears (so far, anyway) to be a problem that could be tackled with a regular expression, so you may find your answer in perldoc perlretut or perldoc perlre either of which will teach you far more than you'll learn from being given a template for the necessary code.
You may find some information about the Monastery and its norms helpful, too; please see On asking for help, How do I post a question effectively?, and I know what I mean. Why don't you?.
|
|---|