Search and Replace Empty Lines In macOS, Press + Check/click "Use Regular Expressions" In "Find" field specify ^$\n leave "Replace" field as blank. Click "Replace All" And all Blank lines will be deleted