I have a string which look like "\n\n\n\ABC\n XYZ", i just want to remove all my new line character from starting of the string.
string replacement = Regex.Replace(s, @"\n", "");
If i use this one so it will remove all new line from string which i don't want.