$formula =~ s/H\d*//g; [download]
In reply to Re^3: How to avoid an alphabet and integer next to it in a string? by hazylife in thread How to avoid an alphabet and integer next to it in a string? by piscean