Thanks for the input! Unfortunately, the surrounding text is all over the map. There may be brackets in one case, there may be white space in another, or the address may be butted up against other text.
I tried using the regular expression found here...
Hi,
Maybe a bit of a newbie Python question... I have a dynamic string. Somewhere in that string is an IPv6 address. I need to store that address in a variable. Problem is it's not always in the same location in the string, surrounding text is always different, and from what I understand IPv6...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.