Reputation: 291
I have a text of 10000000 character in that I want to find all the span which have the font-family:Symbol" my text may have many span without font-family:Symbol" but I just want to know only those span which have font-family:Symbol" and it's text on which it is apply.
any one please help me to find that span with text via any REGX.
Upvotes: 0
Views: 437
Reputation: 4114
try to use this regex
string strRegex = @"(<span[\s\w\W]*?style='font-family:Symbol'[\s\w\W]*?>([\s\w\W])*?</span>)";
Regex myRegex = new Regex(strRegex);
Upvotes: 1