Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/357.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 与regex分开_Java_Regex - Fatal编程技术网

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>