J
Joe Cool
I am trying to remove some text from a RichTextbox. Let's say it
contains something like:
Line 1
Line 2
"Line 1" is bold, "Line 2" is not. If I remove "Line 1" with:
richTextbox.Text = richTextbox.Text.Replace("Line 1", "");
it removes the text "Line 1" but now Line 2 is bold!!!
How can I remove a bolded "Line 1" without "Line 2" assuming "Line
1"'s bold attribute?
contains something like:
Line 1
Line 2
"Line 1" is bold, "Line 2" is not. If I remove "Line 1" with:
richTextbox.Text = richTextbox.Text.Replace("Line 1", "");
it removes the text "Line 1" but now Line 2 is bold!!!
How can I remove a bolded "Line 1" without "Line 2" assuming "Line
1"'s bold attribute?