Friday, October 31, 2008

How to strip the HTML tags from text with C#

string strResult = Regex.Replace(strInput,@"<(.\n)*?>",string.Empty);

No comments: