用尽心机

用盡心機
yòngjìnxīn
to tax one's ingenuity

CEDICT

想尽办法

重編國語辭典

Entry Composition