Hi,
This may work :
output = Regex.Replace(output , "\n{2}", "\n");
Or this (depends on the output string):
output = Regex.Replace(output , "(\r\n){2}", "\n");
But it would be easier to reply if give some more precision, i.e. an example of 'output' string, or how do you get it...