TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Regular Expression Code to Remove HTML tags in C#
Kannadasan G
May 19
2015
Code
42.3
k
0
1
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
Detailed article available in this link
Regular Expression To Strip/Remove Html Tags From String in ASP.Net C#.Net VB.Net
public
static
string
StripHtmlTags(
this
string
source)
{
return
Regex.Replace(source,
"<.*?>|&.*?;"
,
string
.Empty);
}
C# Programming