JSFiddle - React, Tailwind, and code Playground
HTML
<ul class="main-list">
<li>
<a href="#">Item One <span>+</span></a>
</li>
</ul>
JavaScript
var title = $('.main-list > li >a').clone() //clone the element
.children() //select all the children
.remove() //remove all the children
.end() //again go back to selected element
.text();
console.log(title);