Remove text with jQuery

Viewed 34974

Is there a way to remove text that is not wrapped in any tag using jQuery

<p>This is some text</p>

This is "unwrapped" text //to be removed

<span>some more text</span>

Thank you for your help

4 Answers
Related