> Local Socket: 2001:db8:4545:2:0:9ff:ac11:4519..750 > > I want discard the label and extract the ipaddr and port. p = "Local Socket: 2001:db8:4545:2:0:9ff:ac11:4519..750" print(p:match("(.-):%s+(.-)%.%.(.-)$"))