C# replace integer if integer has other numbers from both ends : I want to replace an integer if it is a part of another integer from both ends. 

Say for example an integer +35343+3566. I want to replace +35 with 0 only if it is surrounded with numbers from both sides. So desired outcome would be +35343066.

Normally I'd use line.Replace("+35", "0") and perhaps 'if-else' to meet a condition

int a = +35343+3566;

string b = a.ToString();

string c = b.Replace("+35", "0");


I would want c = +35343066 and not c = 0343066