How do you remove fire resistance potions from a player inventory?

Solution 1:

Seeing that you are using the Bedrock Edition the commands would be

/clear @a potion 12 64 

and

/clear @a potion 13 64