Александра Ростовцева
using System;
using System.Text.RegularExpressions;
namespace ConsoleApplication12
{
class Program
{
static void Main()
{
string input = "some textsome other textsome other other text";
var matches = Regex.Matches(input, @"]+>(?[\w !.?:;]+)]+>");
foreach (Match match in matches)
{
Console.WriteLine(match.Groups["innerHTML"].Value);
}
Console.ReadKey();
}
}
}