Search This Blog

Sunday 26 March 2017

Get text from html string c#

using System.Text.RegularExpressions;


string str = Regex.Replace(HttpUtility.HtmlDecode(HTMLString), "<.*?>"string.Empty);

No comments:

Post a Comment