Nice way for strip_tags a like
I found this code works great as the function strip_tags in php to replace html tags from string and I just want to share it with you. Hope it benefits!
System.Text.RegularExpressions.Regex regHtml = new System.Text.RegularExpressions.Regex("<[^>]*>"); string s = regHtml.Replace(InputString,"");