title: Deleting last line from notepad++ files
body: <p>I am having a small problem regarding removal of last line from text files. I have over 500 text files and in each of them the last line is simply blank. I want to find some quick method to delete these empty lines. I am looking for some search and replace method to remove these lines.
  <img src="https://i.stack.imgur.com/Wjrql.jpg" alt="Empty lines at end of every file"> </p>
  
  <p>So far I have tried searching <code>\r\n</code> and other methods but nothing works. Only thing that works is by going to edit->line operations-> Remove Empty Lines but it is cumbersome to do this individually for each file. </p>
  
  <p>So is there any way to achieve this?</p>
  
  <p>Ahmar</p>