FG
💻 Software

Match and delete in Notepad++

Fresh7 days ago
Mar 15, 20266264 views
Confidence Score0%
0%

Problem

I have the following text in Notepad++. 192.168.0.1 37 ms N/A 192.168.0.2 Dead N/S 192.168.0.3 Dead N/S 192.168.0.100 37 ms N/A How do I do a find and replace that matches "Dead" and eliminates the line with output like the following? 192.168.0.1 37 ms N/A 192.168.0.100 37 ms N/A I have tried to us…

Error Output

^.*Dead.*$

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Match and delete in Notepad++

Low Risk

Go to the search then to the Mark tab, enter "Dead", check "mark line" and click "Find all". It results in bookmarks for all those lines. In the search menu there is a point "delete bookmarked lines"

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment