From Python to Java
<p>I need to "translate" this code(in python) to Java. </p>

<pre><code>re.sub(r'&lt;EM[^C]*(CATEG="[^"]+")[^&gt;]*&gt;', r'&lt;\1&gt;', text).replace(r'&lt;/EM&gt;', '')
</code></pre>

<p>Thanks.</p>
