Delete spaces not followed by characters
-
Hi, sometimes i find several lines on a document than only contain spaces, not followed by any text character.
Is it possible to delete all this spaces but without deleting the lines that contain them nor modifying any other line that start with spaces followed by any character?
Thank you very much !
-
-
Blank Operations > Trim Trailing Space works ok with lines that only contain spaces, but it also deletes all spaces that exist after the last character of any sentence, and that’s something that i want to avoid.
Thanks for your help ! -
OK, then try this replace operation:
Find:
^\h+?(?=\R)
Replace: nothing
Search mode: Regular expression -
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