how to split string?
<pre><code>&lt;span style="cursor: pointer;"&gt;$$&lt;/span&gt;
</code></pre>

<p>how can i get <code>&lt;span style="cursor: pointer;"&gt;</code> and <code>&lt;/span&gt;</code> from this string. Everything around $$.</p>

<p>No need to be regex.</p>
