You can also take advantage of x's default behavior of splitting the selection into lines and use g to select which you want:
Edit x g/^X/d
You can also take advantage of x's default behavior of splitting the selection into lines and use g to select which you want:
Edit x g/^X/d