Line operation that deletes first word on each line
-
Hello,
Long time ago, there was a line operation that deletes first word on each line. I believe this was back when it was a plugin. Is this functionality still available?
Example:
FIRST TODAY IS MONDAY
SECOND TOMORROW IS TUESDAYAfter deleting first word on each line:
TODAY IS MONDAY
TOMORROW IS TUESDAYIn case it matters, I’m using Notepad++ v8.7.7.
Thank you.
-
@Sam-J said in Line operation that deletes first word on each line:
Is this functionality still available?
Not exactly.
But you can do a regular expression replacement:
Find:
(?-s)^\w+ +(.*)
Replace:${1} -
@Alan-Kilborn Great idea! It works wonderfully. Thank you.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login