oh dear vs what a shame

oh dear

intj
  • An expression of dismay, concern, worry or disapproval. 

what a shame

phrase
  • Used to express regret or disappointment about an unfortunate event or piece of information. 

How often have the words oh dear and what a shame occurred in a corpus of books? (source: Google Ngram Viewer )