Strip extraneous surrounding content