SyntaxFix
Write A Post
Hire A Developer
Questions
The easy way to do it, with GNU sed:
sed
sed --in-place '/some string here/d' yourfile