https://www.runoob.com/regexp/regexp-metachar.html
https://blog.csdn.net/thlzjfefe/article/details/103201573
https://blog.csdn.net/qq_33808037/article/details/103425122
Regex m_regex3 = new Regex(@"<size=.>?.</size>"); //<curl>#FF0000#hello world,你好!!</curl>
Regex regex = new Regex("<.*?>");
string str = "<size=30>你好</size>阿达<size=5>你好</size><color=#fff000>你好</color>";
string content = regex.Replace(str, string.Empty);
string content2 = content.Replace("</size>", string.Empty);
private static Regex m_richRegex = new Regex("<.*?>");
public static string RemoveAllRichText(string str)
{
if (string.IsNullOrEmpty(str)) return str;
return m_richRegex.Replace(str, string.Empty);
}