I am trying to get text from a tag, but this tag has a nested node, which is also not needed. How do I get text?
for instance
<div id="i_want_the_text_in_this_div"> <span id="but_not_this_one"> ignore this text </span> keep this text </div>
source share