Strip blank lines, trim whitespace, and clean up text formatting.
Remove empty and blank lines from text. Options to also remove whitespace-only lines, trim each line, or squeeze multiple blanks into one. Great for cleaning up code, logs, or pasted text.