string input = "testeeeeeee";
char[] temp = input.ToCharArray();
var test = Regex.Replace(input.Replace(temp[1].ToString(), "@").Trim(), @"\s+", " ");
Console.WriteLine(test);
This is the code I have now, I want my second char on a string to be replaced with "@" , now is the problem that every e will be replaced in @ , how to fix it that only the second char will be replaced and nothing more?