Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Removing tags from a long string
Message
From
18/01/2016 09:56:47
 
 
To
18/01/2016 03:40:17
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01629858
Message ID:
01629885
Views:
25
>Try this
>
>
>internal static string RemoveHtmlTags(string s)
>		{
>			return Regex.Replace(s, @"<[^>]*>", "");
>		}
>
Can you tell me the enhancements in that filter instead of this:
		lcContent = System.Text.RegularExpressions.Regex.Replace(lcContent, "<.*?>", "")
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform