To do this

It is worth saying that a more delicate way of removing the old foam can be called a fairly sharp blade with which you can cut off the excess installation foam. If the foam hit any surface, then until it has frozen yet, it can be removed using ordinary acetone. To do this, they will need to moisten a rag.