How can I replace lone instances of \\n with \\r\\n (LF alone with CRLF) using a regular expression in C#?
Sorry if it\'s a stupid question, I\'m new to Regex.
Try this: Replace(Char.ConvertFromUtf32(13), Char.ConvertFromUtf32(10) + Char.ConvertFromUtf32(13))