/ Published in: C#
Expand |
Embed | Plain Text
protected string StripHtml(string str) { return System.Text.RegularExpressions.Regex.Replace(str, @"(<[^>]+>)", ""); }
You need to login to post a comment.
krisdb on 07/05/08
8 people have marked this snippet as a favorite
ad5qa
charmcitycoder
leonbda
umang_nine
LeeRJohnson
vali29
fyreflyX
mheinrich
protected string StripHtml(string str) { return System.Text.RegularExpressions.Regex.Replace(str, @"(<[^>]+>)", ""); }
You need to login to post a comment.