hang it
hang it (all) {interj.}, {informal}
An exclamation used to express annoyance or disappointment.
Oh, hang it! I forgot to bring the book I wanted to show you.
Hang it all, why don't you watch where you're going?
Categories:
Source: A Dictionary of American Idioms