≡ Menu

how to remove Html tags from string in c#

use this function

public string Strip(string text)
{
    return Regex.Replace(text, @”<(.|n)*?>”, string.Empty);
}

{ 0 comments… add one }

Leave a Comment