FG
💻 Software

How to delete all lines which contain a word with TextWrangler?

Fresh5 days ago
Mar 15, 202633202 views
Confidence Score0%
0%

Problem

I have a giant file with thousands of lines, I want to delete only the lines which have the word "Foo" in them. How would I go about doing this? I'm on a Mac, so I could use some command line utility, but I'd prefer to use TextWrangler.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to delete all lines which contain a word with TextWrangler?

Low Risk

In TextWrangler: Text > Process Lines Containing…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment