<li>
<a href='http://stackoverflow.com'>Link</a>
"That was a link"
</li>
How would you, with jQuery, select the "That was a link" string? Obviously using $('li:last') won't work, as :last has to select an element.
So how do you? Let's just say I need to remove it with .remove()
<span>around the text?