You can blame James I for that, not the BBC. Blasphemy was banned on the English stage in 1606 (the "Restraint of Players" act) and so later publications are usually expunged.
The BBC production could have been using a later edition (possibly based on the First Folio from 1623) which censors all the references to God and other blasphemy like "zounds", which is short for "God's wounds". You where almost certainly following along with an edition where the editor had restored the original published text from before the act was created.