string s1 = "[quote=useruk1]<p>im useruk1</p>[/quote]<p>hi im mod1-probe</p>";
string s2 = "hi im mod1-probe";
string s3 = "blah blah";
string s4 = s1.Replace(s2, s3);
Console.Write(s4);
seems to be not working. Any ideas? How to solve this problem?
UPDATE:
problem was with the space, normal space ASCII value is 32 and above string ASCII value was 160 so i did a
s1 = Regex.Replace(s1, @"\u00A0", " ");
everthing worked fine ! thanks a lot guys!