Multiple times I’ve been searching (too long) for a working IPv6 regular expression. There’s a lot of crap out of there which doesn’t take into account certain cases. Of course you only get to know which one works best if you test them all. I’ve tried A LOT and finally found the right one