Replacing space with backspace on blank line
-
Hi all,
I would like to know how to replace space with new line on the blank lines without affecting the line with the texts in notepad++.for example:
line 1 has space in between 00B028707F and 0DB8.
line 2 and 4 is empty but there is space character at the beginning of the line.
I want to remove the space at the line 2 and line 4 and replace with backspace character.
I need to do this on thousands over line.line1: 00B028707F 0DB8
line2:
line3: 0058B51806 08FA
line4:
line5: 00D3C5DD15 03BB -
I’m thinking that you don’t really want to replace this space with a literal backspace character, but rather to simply delete it?
If so, probably the simplest thing to do is trim spaces. See Edit menu, then Blank Operations and choose Trim Leading Space.
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