我已经在字符串中添加了标签,就像[note]some text[/note]我想在标签之间提取内部文本的位置一样。
示例文本:
Want to extract data [note]This is the text I want to extract[/note]
but this is not only tag [note]Another text I want to [text:sample]
extract[/note]. Can you do it?
从给定的文本中,提取以下内容:
This is the text I want to extract
Another text I want to [text:sample] extract
胡说叔叔