I have am using regex.replace to replace a '#' character with a Environment.Newline. However it is not returning the expected results. It is just returning the same input string. Here is my code.
Regex.Replace(inputString, @"#", Environment.NewLine);
var result = Regex.Replace(inputString, @"#", Environment.NewLine);?