One of my favorite (under)uses of BBEdit is using Grep in Find/Replace to remove all newline characters. I figured that surely PasteBot would be have a built-in filter to handle that, but alas. I found an article by Michael Kummer that got me halfway there; I was able to figure out the rest.