StreamReader sr = new StreamReader(@"C:\проект\pldb-win.txt");
String line = sr.ReadToEnd();
for (int i = 0; i < line.Length; i++)
{
int index = richTextBox1.Text.IndexOf(line);
richTextBox1.Select(index, line.Length);
richTextBox1.SelectionFont = new Font(richTextBox1.SelectionFont, FontStyle.Underline);
richTextBox1.SelectionColor = Color.Red;
}