let's say, for instance, I have this
<h2>I don't love Programming</h2>
I'd like to remove 'don't' from the text inside the h2 tag.
So far, I've done this
var content = $(h2).text();
That's allow me to get the text 'I don't love Programming'. But I need a way to locate don't and replace it by something else or simply remove it.
Thanks for helping