ATMLUtilitiesLibrary.HtmlStripper.StripTagsRegex C# (CSharp) Метод

StripTagsRegex() публичный статический Метод

Remove HTML from string with Regex.
public static StripTagsRegex ( string source ) : string
source string
Результат string
        public static string StripTagsRegex( string source )
        {
            String value = Regex.Replace( source, "<.*?>", string.Empty );
            return Regex.Replace( value, "&nbsp;", string.Empty );
        }