I want to remove all blank lines from my code by find/replace method in eclipse code editor.
I used regular expression \\n\\s*\\n
to find all blank lin
I tried your expression, and it combined some lines. I found this one to work:
\n\s*$
with a replacement of [nothing].
Can't help with the mysterious error, though. I wonder if you have a corrupt file, maybe a stray CR/LF confusion.
(As for a plugin... don't know of any, but, well, learn awk, sed, perl... they'll always serve you well for your miscellaneous text-mangling jobs.)