UltraEdit Remove extra spaces:
Search >> replace (ctrl+r) "Find what" entry two spaces, "replace with" entry a space, consecutive click Replace all until the replacement of all the extra space UltraEdit delete blank lines:
Search >> replace (ctrl+r) "Find what" entry "^p^p", "Replace with" entry "^p", continuously click Replace all until replace all empty behavior stop Note: About UltraEdit find special characters You can view Help documents
EditPlus Remove extra spaces:
Search >> replace (ctrl+h) "Find" entry two spaces, "replace with" entry a space, consecutive click Replace all until the replacement of all the extra space EditPlus delete blank lines:
Search >> replace (ctrl+h) "Find" entry "\ n", "Replace with" entry "\ n", and then click Replace all until all empty actions are replaced: about EditPlus find special characters you can click the Down triangle button after the input box or view the Help document
Vim Remove extra Space:
:%s/* */g meaning: One or more spaces replaced by a space, G is the global replacement vim delete blank line:
: g/^\n*$/d regular Meaning: wardrobe + multiple line breaks + line end, D is delete command