ruefully

/R UW1 F AH0 L IY0/
adverb
  1. 1

    In a rueful manner; causing, feeling or expressing regret or sorrow.

    โ€œHe pushed his straw hat back, scratched his head, and laughed ruefully.โ€

Source: https://en.wiktionary.org/wiki/ruefully