示例#1
0
 public static string ExtractBody(string htmlText)
 {
     return(StringExt.StrExtract(htmlText, "<body", "</body>", ">"));
 }
示例#2
0
 public static string ExtractStyle(string htmlText)
 {
     return(StringExt.StrExtract(htmlText, "<style", "</style>", ">"));
 }
示例#3
0
 public static string ExtractTag(string htmlText, string tag)
 {
     return(StringExt.StrExtract(htmlText, "<" + tag, "</" + tag + ">", ">"));
 }