New Answer copy the into vim then run themand %s And then you'll get clean . Old Answer Found a way! From PDF file copy nTo putting it in a reddit post box (then copy the live preview) n nTo pasting in Quora. Note all the unnecessary new lines in the first quote and how it's all fixed in the second quote!