I have a list in which one column is of type Rich text box. I am using a console application which reads this list's item and replace a substring for example RichTextColumn contains value [subtext] then
string mytext=item["RichTextColumn"].toString();
mytext=mytext.Replace("[subtext]","******");
The above code work fine , but when Rich Text column has { or } then the code fails for example if RichTextColumn contains value {subtext} then below can't find it
mytext=mytext.Replace("{subtext}","--------");
On debugging I found mytext contains ANSI code for curly braces({) instead of {
Please help me out me to resolve this issue.