Simple replace

Simple replace

Hi,

I have a site which is rendering some CMS-driven content with empty paragraphs.  I'd like to remove these spaces dynamically with jquery.  I'm trying this but it doesn't work:

  1. $('<p>&nbsp;</p>').replaceAll('');
Can anyone tell me how to just replace all occurences of '<p>&nbsp;</p>' within nothing (i.e. remove them)?

Thanks all...