hang it

[hang it] {interj.}, {informal} An exclamation used to expressannoyance or disappointment.

Oh, hang it! I forgot to bring thebook I wanted to show you.

Hang it all, why don't you watch whereyou're going?