Recommended Answers

All 3 Replies

How to find a word in a text file in c#? I need highlighted text in image h

How to find a word in a text file in c#? I need highlighted text in image ?

Load the text of your file in a RichTextBox.
Use a Find method of RichTextBox to find words.
Apply other style to the found words.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.