$text =~ s{\\[Hf][^;]+;}{}g;