I have a string in the following format
string s = \"This is a Test String.\\n This is a next line.\\t This is a tab.\\n\'
I want to remo
You can use Trim if you want to remove from start and end.
Trim
string stringWithoutNewLine = "\n\nHello\n\n".Trim();