using System; using System.Text; using System.Text.RegularExpressions; public class Test { public static void Main() { // your code goes here var s = "I have a a string like this \\nThis is a new line string\\nThis is another-new-line"; Console.Write(Regex.Unescape(s)); } }