use ctrl+shift+L to use multiple cursors to edit all the tags
Instead of using Fragment tag, you can just use empty tag: