FEYN CALC SYMBOL

PartitHead


returns a list {ex1, h[ex2]} with ex1 free of expressions with head h, and h[ex2] having head h.