Strip all newlines from the given string