如何编写一个模式(Java)来匹配除给定单词列表之外的任何字符序列?
我需要找出一个给定的代码是否有任何由标签包围的文本,比如除了给定的单词列表之外。例如,我想检查标签中除了“一”和“二”之外是否还有其他单词。"This is the first tag <span>one</span> and this is the
这里的初学者:例如:'hey this is a block of text, for an example, wow looks cool blah blah blah angiotensin还有一个单词列表:['angiotensin enzyme serum', 'some diff enzyme', 'angiotensin enzyme a1']
我的最终目标是从文本块中找到字符串匹配