String ToolsNew
Remove Lines Containing
String ToolsNew
Drop lines matching a phrase or regular expression.
Drop every line that matches a phrase or regular expression. Use it to remove debug log lines, advertising blocks, comments, or any content you can describe with a substring or pattern.
Regex patterns honour standard JavaScript syntax. Combine with Regex Tester if you need to validate the pattern first.
Empty lines stay?
Yes — only lines matching the criteria are removed.
Can I keep matching lines instead?
Invert the criteria with a negative lookahead such as ^(?!.*pattern).