Regular Expression 써서 다음과 같이 하면 됩니다.
다음의 네임스페이스가 필요합니다.
참고 : http://www.vandamme.com/blog.aspx?id=512&blogid=194
public static string StripTags(string html)
{
return Regex.Replace(html, @"<(.|\n)*?>", string.Empty);
}
{
return Regex.Replace(html, @"<(.|\n)*?>", string.Empty);
}
다음의 네임스페이스가 필요합니다.
using System.Text.RegularExpressions;
참고 : http://www.vandamme.com/blog.aspx?id=512&blogid=194
Trackback 0 And
Comment 4






