Convert regex string from Java to Python
<p>I have the following function in Java to replace occurrences of a regex with a blank space:</p>

<pre><code>string.replaceAll("\r?\n[\\s&amp;&amp;[^\r\n]]*", " ")
</code></pre>

<p>In Python, the equivalent would be:</p>

<pre><code>re.sub("\r?\n[\\s&amp;&amp;[^\r\n]]*", " ", string)
</code></pre>

<p>But I just realised that Python doesn't parse regex strings the same way as Java. My question is what is the Python equivalent regex string of <code>\r?\n[\\s&amp;&amp;[^\r\n]]*</code> ?</p>