用盡心機

用尽心机
yòngjìnxīn
to tax one's ingenuity

CEDICT

想盡辦法

重編國語辭典

Entry Composition