Filtering an expression: keeping only term with even power
In the expression x2y2+xy2+x3y+5x4y4 I would like to keep only the term where the variables have even power x2y2+5x4y4
Is there a way to do it?
I look into this post.
But once I get the operands, I don't see how to analyze the variable exponent.