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 lines but got error "Incompatible line delimiter near index 55110"
when replacing the blank line with any string.
Why i got this error and how to properly remove the blank lines? What will the working replacement character ?
Is there any eclipse plugin for these kind of job?
You can try replacing this:
^\s*\r?\n
with the empty string.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With