Thursday, September 22, 2005

How to strip the HTML tags from text with C# and Regular expression?

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

No comments: