I have the following code:
int numberOfWords = 50;
string regexMatch = string.Format(@"^(\w+\b.*?){{" + numberOfWords + "}}");
string firstWords = Regex.Match(result, regexMatch).Value;
This code displays the first 50 words in a string. Now I want to display next 50 words (51st word to 100th word). How do I do it?