C#。编码没有标签的文本

时间:2012-08-13 07:37:31

标签: c# regex

我有自定义标签的文字。文字还可以包含符号'<','<<<<<<','>','''等。 我需要编码没有标签的所有文本 文字示例:

The Stack Exchange network is a set of  Q&A sites dedicated to providing high-quality questions and answers, with the modest goal of making the Internet a better place. It is owned and operated by Stack Exchange Inc.
>>>>>>>>>We take the private nature of your personal information very seriously, and are committed to protecting it.
<helplink id="123456"/>
To do that, we’ve set up procedures to ensure that your information is handled responsibly and in accordance with applicable data protection and privacy laws. We’re grateful for your trust, and we’ll act that way. 

我认为需要使用正则表达式来查找没有标签的文本。

0 个答案:

没有答案