I have a opinion dataset that has some tags in angle brackets not HTML or XML tags. However I want to skip any processing of string that lie between open agle bracket and closed angle bracket. I'm trying to use Regex, any idea for the regular expressions.
EDIT: Sample input:
<DOC NO> How are you <DOC NO/>
want to skip/delete DOC NO & DOC NO/ with angle brackets , and process only "How are you"
波纹管将为您提供不包含要排除的部分的琴弦。
var cleanedString = Regex.Replace("<DOC NO> How are you <DOC NO/>", "<.*?>", "");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.