Follow the steps
- In windows, Press Ctrl+H (quick replace).
- Click “Use Regular Expressions”.
- In Find specify
^$\n
. - leave Replace as blank
- Click “Replace All”
All Blank lines will be deleted.
NB: leave the replace box as blank
Follow the steps
^$\n
.NB: leave the replace box as blank