Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
api
· 10y ago · 0 comments
IPv6 addresses have more than one : and have a certain format -- you can distinguish with a simple rule.
Comments
[–]
p1mrx
10y ago
This tends to work well as a simple filter:
([0-9A-Fa-f]*:){2}[0-9A-Fa-f:.]*