Here's the answer:
“ざんねん!”
(zannen!)
Watch a real native speaker say it:
Here's how it sounds in a textbook:
You could also say:
- 残念!
Fun fact: the hundreds of thousands of people learning Japanese with Memrise get this phrase correct 90.96% of the time!