How to remove HTML tags from a string using Asp.net and C#

Removing of HTML tags from a string can be easily done using Regular expressions. It is a very simple trick. Here is the code for doing this.

You can use like this

and the result will be “hello world!”

Cheers

Leave a Reply

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