I have this HTML:
<div class="one">32<span class="one_span"> Years old</span></div>
I want to be able to select the class one text without the span's text. Is that possible? Here's what I've tried, but it didn't work
var age = $('.one:not(.one_span)').text();