views:

526

answers:

1

I want to get occurence count of selected text in WebBrowser Control

A: 

See this question and answer here.

sgrassie
that gives me the selected text I want the occurence count of that word in the document
Once you have the selected text, you can match your word in the selected text using the normal .net string manipulation functions.
sgrassie
Sandhurst probably wants to search in the *whole* document, for the word that is selected.
Mostafa Mahdieh