FG

notepad++ regexp to find all lines which contain a specific string

Fresh3 days ago
Mar 15, 202690755 views
Confidence Score0%
0%

Problem

I am looking for a notepad++ regexp that contains a specific string. I then want to delete this whole line.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: notepad++ regexp to find all lines which contain a specific string

Low Risk

Well I don't think you can do it with one search-replace. I'd do this. Open up the search-replace, choose mode regex and search for: and let the replacement be \1 (this is the string marking the lines you don't want). This will leave lines with only…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment