good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: how to remove block of data from file based on stringby Xiong (Hermit) |
on Mar 14, 2012 at 23:22 UTC ( [id://959689]=note: print w/replies, xml ) | Need Help?? |
Sorry; I can't answer your question because I can't understand it. Let me try to show you how I think you might ask. I have the following input data:
I want to remove the string that starts with 'start', includes 'remove', and ends with 'end':
Of course this may not be what you want at all. Why not try to be a bit more explicit and we'll see what we can do to help?
Death only closes a Man's Reputation, and determines it as good or bad. —Joseph Addison
In Section
Seekers of Perl Wisdom
|
|