How do I delete exactly 1 item with specific tag or custommodeldata from players inventory?

i need that to work to delete one of my projectile[which are supposed to be deleted if the gun is shot] items from a players inventory, to identify the item in the players inventory i thought it would be best to use a tag or custommodeldata identifier. but i haven't yet seen any solutions on the internet that did that, at least not with the /clear command.

Continue to help post