1 2 3 4 5 6 7 8 9
using System.Text.RegularExpressions; const string pattern = "<.*?>"; static string remoteTags (string inputString) { return Regex.Replace (inputString, pattern, string.Empty); }