in reply to Re^2: HTML stripper...
in thread HTML stripper...

I want to remove only the comments in html and javascript at a time... Thanks...

So use one of the solutions from previously linked , but configure them to only remove comments and javascript