Extracts a one-liner from a piece of text.