Dunno what I was thinking about yesterday since it was pretty obvious. private void onLoad(object sender, System.EventArgs e) { richTextBox1.Text = "Hello World\n"; richTextBox1.AppendText("This is the string I search for\n"); richTextBox1.AppendText("Another Hello World Again\n"); } private void button1_Click(object sender, System.EventArgs e) { int loc = richTextBox1.Find("string"); int linePos= richTextBox1.GetLineFromCharIndex(loc); int lineLen = richTextBox1.Lines[linePos].Length; int lineStart = richTextBox1.Lines[linePos].IndexOf("string"); richTextBox1.Select(lineStart,lineLen); richTextBox1.SelectionColor = Color.Blue; richTextBox1.SelectedText = richTextBox1.Lines[linePos]; richTextBox1.AppendText("strPos: " + loc + ", Len: " + lineLen + ", linestart: " + lineStart); }