do something for all you are worth

for all (one) is worth

1. To the greatest degree or extent of one's ability; to the utmost; as vigorously or intensely as possible. When I saw the police approaching, I ran for all I was worth.
2. As much as one has available or to offer. If you can't get her to sign a prenup now, that guy is liable to take her for all she's worth if they get divorced.
See also: all, worth
Farlex Dictionary of Idioms.

do something for ˌall you are ˈworth

do something with as much energy and effort as possible: I shouted for all I was worth but no one heard me.
See also: all, something, worth
Farlex Partner Idioms Dictionary
See also:
  • for all (one) is worth
  • for all is worth
  • for all one is worth
  • for all someone is worth
  • (one's) heart out
  • fierce
  • drill (someone) (with questions)
  • hammer away at
  • hammer away at (someone)
  • laugh till you cry