FG
💻 Software

How do I remove the last part of every line in notepad++?

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

Problem

I know this can be done in notepad++, but I'm not finding the right replace syntax. I want to remove the last part of this sentence, starting from : so that it becomes:

Error Output

http://sportnaslava.info/wiki/index.php?title=User:CisBlakeman861

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I remove the last part of every line in notepad++?

Low Risk

The regexp is So we search something starting with question mark and lasts to the end of line. Don't forget to set "search mode" to "regular expression"

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment