JSFiddle - React, Tailwind, and code Playground
HTML
<a href="#">My Link <span>And More</span></a>
JavaScript
var txt = $('a').contents().filter(function(){
return this.nodeType === 3;
}).text();
console.log(txt);
<a href="#">My Link <span>And More</span></a>
var txt = $('a').contents().filter(function(){
return this.nodeType === 3;
}).text();
console.log(txt);