123456789101112131415161718192021 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- namespace CZKJ.GBRS2.WebMVC.Helper
- {
- public class Helper
- {
- /// <summary>
- /// 清除Html标签
- /// </summary>
- /// <param name="HTMLStr"></param>
- /// <returns></returns>
- public static string ParseTags(string HTMLStr)
- {
- return System.Text.RegularExpressions.Regex.Replace(HTMLStr, "<[^>]*>", "");
- }
- }
- }
|