JavaScript menghapus string di antara

var alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
alphabet = alphabet.replace(/H.*S/, 'HS')
Ham-Solo