Remove the fragment

Remove the fragment. Given a string in which the letter “h” occurs at least twice, remove the first and last occurrence of the letter “h”, as well as all characters between them.

Test Case Input (String) Expected Output
1 hellohehworld held
2 hhhellohh hh
3 hehaheheho ho