You can use jquery to select your element/html, but javascript has a builtin function replace
that will do what you need:
$('div.entry').html($('div.entry')
.html()
.replace('Approuved - Expire May 18 th 2012', ''))
Or using RegExp
:
If what you want to replace starts always with Approuved - Expire
:
$('div.entry').html($('div.entry')
.html()
.replace(/Approuved - Expire[^<]*/, ''))
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…