Java 与regex分开
我需要把一切都准备好Java 与regex分开,java,regex,Java,Regex,我需要把一切都准备好 onmouseout="this.style.backgroundColor='#fff'"> 下面是示例< 我想得到这个单词的例子。 下面是一个更复杂的例子,说明了它应该在哪里工作: onmouseout="this.style.backgroundColor='#fff'">going to drink?<br></span><span title="Juist!" onmouseover="this.style.backg
onmouseout="this.style.backgroundColor='#fff'">
下面是示例<
我想得到这个单词的例子。
下面是一个更复杂的例子,说明了它应该在哪里工作:
onmouseout="this.style.backgroundColor='#fff'">going to drink?<br></span><span title="Juist!" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">Exactly!</span></span></div></div>
onmouseout=“this.style.backgroundColor='#fff'>”去喝酒吗?
没错!
因此,这里我需要其中两个返回(且未连接)
有人能帮忙吗?我的正则表达式很烂
有人把我的标签编辑成javascript。
我需要一个在java中使用的解决方案,我只是得到一个纯文本文件。所以javascript或html解决方案并没有真正的帮助。带有html的正则表达式?好吧,如果你只需要解析几行,那就好了。但一般来说,最好使用html解析器(因为html不是常规语言) 这是纯金的:
onmouseout="this.style.backgroundColor='#fff'">going to drink?<br></span><span title="Juist!" onmouseover="this.style.backgroundColor='#ebeff9'" onmouseout="this.style.backgroundColor='#fff'">Exactly!</span></span></div></div>