remove % and keep testing using jQuery

```
<div id="top_content">testing %</div> == 0$

```

I've tried to use this code but it didn't work

```
$('.top_content:contains("%: ")').each(function(){
    $(this).html($(this).html().split("%: ").join(""));
});

```

top content is an element inside wordpress plugin

thanks for help