Set all exponential terms to equal to zero in mathmatica

185 Views Asked by At

I have an expression where I want to set all exponential term to equal to zero at one time

example e^x+xx+tt+e^y+5*e^5, Is there is a direct way to set all e->zero and produce xx+tt?

Thanks in advance

1

There are 1 best solutions below

1
On BEST ANSWER
e^x + xx + tt + e^y + 5*e^5 /. e^__ :> 0
(* tt + xx *)