Can i use jQuery to remove part of a text within a div.
Like so:
Published May 18th 2011 - Approuved - Expire May 18 th 2
Try this:
$(".entry").html(function(i, htm){ return htm.split("-")[0]; });
html() can also have a function passed on to it if you want to process the html inside a node and then reset it.
Here is a demo on jsfiddle : http://jsfiddle.net/nKJWn/