in reply to Re: Delete till end of line to another stringin thread Delete till end of line to another string
This would erase every > - not what the OP wanted.