I'm looking for a jQuery solution

```
<pre><marker id="markerStart"></marker>
aaaaa
<span style='font-family:monospace;background-color:#a0a0a0;'>bbb</span>bb
cc<marker id="markerEnd"></marker>ccc
</pre>

```

How get text between `<marker>` tags? Should be the following result:
aaaaabbbbbcc

Example 2 (markerEnd inside SPAN tag):

```
<pre><marker id="markerStart"></marker>
aaaaa
<span style='font-family:monospace;background-color:#a0a0a0;'>b<marker id="markerEnd"></marker>bb</span>bb
ccccc
</pre>

```

expected result: aaaaab

Thanks.