http://www.perlmonks.org?node_id=774886


in reply to Don't Use Regular Expressions To Parse IP Addresses!

That said, you might still be looking for a regex that will determine whether an IPv6 address is valid. Check out A regular expression for IPv6
  • Comment on Re: Don't Use Regular Expressions To Parse IP Addresses!

Replies are listed 'Best First'.