For a Text object named myText, to remove all hypertext links currently set within the Text object, use the following syntax:
myText.RemoveAllHypertext()