fork(12) download
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. var s = "I have a a string \\nThis is a new line\\nThis is another";
  9. Console.Write(Regex.Unescape(s));
  10. }
  11. }
Success #stdin #stdout 0.04s 23920KB
stdin
Standard input is empty
stdout
I have a a string 
This is a new line
This is another