You have inadvertantly turned on “show field codes” in word. Open your Options (from tools menu), first tab, second column about 1/2 way down, untick the box to get back to expected behavior. There is an obscure ctrl key command that I accidentally hit now and again that causes this. If you remember what it is - you can turn it off the same way!