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
\\n\\s*\\n
This worked for me for years:
Replace: [\t ]+$
With blank