Drawing from memory here. I think you can just select them and delete them. And that may leave behind a blank area. You would then choose the flood fill tool, press the Control key and hold it as you click to sample and select the desired fill color, then flood fill the blank area.