Oh my god thank you so much!!! I've been going insane this afternoon, stupidly trusting Java's documentation that the second String is just a plain String and not an RE. All I wanted was to transform \r and \n into "\par" (for RTF) and could I get that damn slash character to appear in the output?! grrrrrrr!

And it's not so much that Java's RE support is rubbish (about which I have no opinion either way) -- it's that their documentation for replaceAll() is LIES!!!

But, thanks to you, problem fixed, on to the next fight...