In my previous article I have explained about How to How to generate random no in C#.Net. In this article I am going to explain about how to remove html tags from the input string using C#.Net.
In this example I have used regular expressions to match the html tags and I have removed the html tags. Below method will remove html tags and will give you the text alone in the output.
If you pass the below html as input
Your output will be
Do you like this article? Help us to improve. Please post your comments below.
Download Source Code: