I have written the following code. But it is removing only not
var docDesc = docDescription.replace(/(&nb
What about:
var docDesc1 = docDescription.replace(/()*/g,"");