Ok. in a button click event, I add text to a RichTextBox. When I add text I would like certain words to be changed to something else. Something like:
public void RichTextBox_TextChanged(object sender, EventArgs e)
{
if(RichTextBox.Text == "Hello")
{
that value changes to "hi"
}

RichTextBox
__SAW___
Hi
Is your problem solved
Thank you,
Bhanu.
Luciano Bargmann
if (RichTextBox1.Text.Contains("Hello")
{
RightTextBox1.Text.Replace("Hello", "Hi");
}
That's untested, but it's something like that.