protected static RemoveHTMLFromString ( string str ) : string | ||
str | string | |
return | string |
protected static string RemoveHTMLFromString(string str)
{
if (string.IsNullOrEmpty (str))
{
return null;
}
return Regex.Replace(str, @"<[^>]+>| ", "").Trim();
}