Sir/Madam,
How to find a word from paragraph and how to calculate number of occurances.
With Regards,
Gomathi.P
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dipal ChoksiPosted Sep 26, 2010, 5:39 PM
using System.Text.RegularExpressions;
...
MatchCollection results = Regex.Matches(s,
return results.Count;
...