[jQuery] select data in a <p> ignoring the <span>

[jQuery] select data in a <p> ignoring the <span>


Hi Guys,
this is the Code which I am working on


Data which I need to select and it hasn't an attribute
<span> Data in a Span </span>




Data which I need to select and it hasn't an attribute
<span> Data in a Span </span>




Data which I need to select and it hasn't an attribute
<span> Data in a Span </span>



How could FIlter and Select the text Before the <span>
does someone has an Idea ?