Categoría: .NET
Eliminar tags html en un texto
Con este consejo te permitirá eliminar todos los tags de HTML de un texto con una regular expression
sText = "<;font color=Red>;blabla<;/font>;<;table>;<;tr>;<;td>;...etc<;/table>;" Dim regEx As New System.Text.RegularExpressions.RegEx("<;[^>;]+>;") regEx.Replace(sText, "") |