/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
using System.Text.RegularExpressions; public string removeHTML(string input) { string pattern = @"<(.|\n)*?>"; string output = regex.Replace(input, string.Empty); return output; }