The former royal editor of Rupert Murdoch's News of the World tabloid admitted to a London court on Wednesday he had repeatedly hacked the voicemails of Princes William and Harry, and William's wife Kate Middleton.