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 !
-
It isn’t your exact description, but you probably want this:
-
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 -