use jquery to find any character and remove it

use jquery to find any character and remove it

I have a website in drupal.There is seems to problem with it. Before the end of body tag a digit appears 9. I did not find any file to remove it. SO i need to remove that through jQuery.

I know there is find() method in jQuery but is finds only the elements not the character. I need to find character and remove it. Structure of it is like this.It doesnot comes under any element than body tag so I cannot select element surrounds it and remove it.

<body>all the other site elements....9</body>

$('body').replace('9', ''); is also not possible because it can have multiple 9s and I want to remove only last one.
Thanks