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));
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uVGV4dDsKdXNpbmcgU3lzdGVtLlRleHQuUmVndWxhckV4cHJlc3Npb25zOwpwdWJsaWMgY2xhc3MgVGVzdAp7CglwdWJsaWMgc3RhdGljIHZvaWQgTWFpbigpCgl7CgkJLy8geW91ciBjb2RlIGdvZXMgaGVyZQoJCXZhciBzID0gIkkgaGF2ZSBhIGEgc3RyaW5nIGxpa2UgdGhpcyBcblRoaXMgaXMgYSBuZXcgbGluZSBzdHJpbmdcblRoaXMgaXMgYW5vdGhlci1uZXctbGluZSI7CiAgICAgICAgQ29uc29sZS5Xcml0ZShSZWdleC5VbmVzY2FwZShzKSk7CgoJfQp9Cg==