I bet I know what you did :D
You likely went...
- myRichTextBox.Rtf.Replace("\\par", "");
You actually want to do...
- myRichTextBox.Rtf = myRichTextBox.Rtf.Replace("\\par", "");
The string replace method doesn't modify the actual string, it returns the modified string instead, so you need to assign it. I gave this a try and it worked for me, though there was some unexpected side effects. I'm not sure if you should replace the par... I don't really know the rich text format offhand... let me play around a bit more.
** Update:
Ok, it looks like the "\par" code is the newline, but there's also a "\pard" code in there. Since the string.Replace method isn't very choosy, it will knock out a "\pard" code and make it a "\d" code, which was generating my issue.
Knowing nothing about the Rtf format, I blindly replaced "\pard" with blank before I did "\par" and it worked, but I'd highly recommend making a better replace function on your own to make sure you knock out exactly what you want.
Maybe someone else has a suggestion for a "safer" way of doing this...?