C# Quicknote: stripping html tags from a string

Below is a simple regex statement that I have been using to string html tags from a string:
string result = Regex.Replace(input, @”<(.|n)*?>”, string.Empty);

You May Also Like

About the Author: rnowik

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.