How can I Unescape and Reescape strings in .net?

System.Text.RegularExpressions.Regex.Unescape(@"\r\n\t\t\t\t\t\t\t\t\tHello world!")

Regex.Unescape method documentation

Leave a Comment