Replace URL by text as an anchor; move a URL from ts to the text